Exemplo n.º 1
0
 public static UiEventCenter getInstance()
 {
     if (_instance == null)
     {
         _instance = new UiEventCenter();
     }
     return(_instance);
 }
Exemplo n.º 2
0
        public static UiEventCenter getInstance()
        {
            bool flag = UiEventCenter._instance == null;

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