void OnDestroy() { m_instance = null; //RemoveEventHandler(EventTypeEnum.OpenItemOperateUI.ToString(), OnOpenItemOperateUI); UIEventManager.Instance.RemoveUIEventHandel(UIEventType.OpentMainUI, OpentMainUIEvent); }
public bool IsShowCommonTool = true;//显示顶部通用工具栏 void Awake() { m_instance = this; RegisterEventHandler(); m_UIPanelList = new Dictionary <UIType, BaseUIPanel>(); }