public static UiEventCenter getInstance()
 {
     if (_instance == null)
     {
         _instance = new UiEventCenter();
     }
     return(_instance);
 }
示例#2
0
        public static UiEventCenter getInstance()
        {
            bool flag = UiEventCenter._instance == null;

            if (flag)
            {
                UiEventCenter._instance = new UiEventCenter();
            }
            return(UiEventCenter._instance);
        }
示例#3
0
 virtual public void onClosed()
 {
     UiEventCenter.getInstance().onWinClosed(uiName);
 }
示例#4
0
 virtual public void onShowed()
 {
     UiEventCenter.getInstance().onWinOpen(uiName);
 }