Exemple #1
0
 void OnDestroy()
 {
     m_instance = null;
     //RemoveEventHandler(EventTypeEnum.OpenItemOperateUI.ToString(), OnOpenItemOperateUI);
     UIEventManager.Instance.RemoveUIEventHandel(UIEventType.OpentMainUI, OpentMainUIEvent);
 }
Exemple #2
0
        public bool IsShowCommonTool = true;//显示顶部通用工具栏


        void Awake()
        {
            m_instance = this;
            RegisterEventHandler();
            m_UIPanelList = new Dictionary <UIType, BaseUIPanel>();
        }