Example #1
0
 public void infoPanel()
 {
     //print("enter INFOR");
     if (infoPStat == true)
     {
     }
     else
     {
         print("enter ELSE INFOR");
         uiManager.OffPanel();
         uiManager.PushPanel(MyUiType.ThirdInfoPanel);
         infoPStat = true;
         furPStat  = false;
     }
 }
Example #2
0
 public void ShowSecondPanel()
 {
     if (!secondPanelStat)
     {
         uiManager.PushPanel(MyUiType.SecondPanel);
         uiManager.PushPanel(MyUiType.ThirdInfoPanel);
         secondPanelStat = !secondPanelStat;
     }
     else
     {
         //注意:count在offpanel()后是会变换的
         for (int i = 0; i < uiManager.PanelStack.Count; i++)
         {
             uiManager.OffPanel();
         }
         secondPanelStat = !secondPanelStat;
     }
 }