//-------------------------------------------------------- // [Author]: 第二世界 // [ Date ]: Wednesday, September 06, 2017 //-------------------------------------------------------- using UnityEngine; using System.Collections; using System.Collections.Generic; using UnityEngine.UI; namespace vnxbqy.UI { public class LocalMapWin : Window, SecondWindowInterface { [SerializeField] CyclicScroll m_EventPointToggleGroup; [SerializeField] Text m_MapName; [SerializeField] Button m_AutoHangUp; [SerializeField] LocalMapFindPath m_LocalMap; [SerializeField] ToggleButton m_MapLineSwitch; [SerializeField] Transform m_MapLineContainer; [SerializeField] Text m_CurrentLine; [SerializeField] DynamicCyclicScroll m_LinesScroll; [SerializeField] Button m_WorldMap; int dataMapId = 0; int lineId = 0; MapModel model { get { return ModelCenter.Instance.GetModel(); } } public Button close { get; set; } protected override void BindController() { if (this is SecondWindowInterface) { var frame = this.GetComponentInChildren(); frame.Create(); close = frame.GetComponentInChildren