Exemplo n.º 1
0
 public void CloseMenu(System.Action complete)
 {
     currentMenu.Close(() => {
         if (complete != null)
         {
             complete();
         }
         //currentMenu.gameObject.SetActive(false);
         currentMenu             = null;
         vBaseMap.Camera3DEnable = true;
         menuBackground.SetActive(false);
     });
 }
Exemplo n.º 2
0
 private void CloseOperatingMenu()
 {
     operatingMenu.Close(null);
     if (Global.battleManager.characterIsRunning)
     {
         return;
     }
     if (Global.battleManager.currentBelong != Belong.self)
     {
         Global.battleManager.aiManager.Execute(Global.battleManager.currentBelong);
     }
     else
     {
         battleMenu.Open();
     }
 }
Exemplo n.º 3
0
 public void CloseOperatingMenu()
 {
     operatingMenu.Close(null);
     if (manager.CurrentCharacter != null)
     {
         return;
     }
     if (currentBelong != Belong.self)
     {
         ai.Execute(currentBelong);
     }
     else
     {
         battleMenu.Open();
     }
 }
Exemplo n.º 4
0
 private void OpenOperatingMenu()
 {
     operatingMenu.Open();
     battleMenu.Close(null);
 }
Exemplo n.º 5
0
 public void OpenOperatingMenu()
 {
     operatingMenu.Open();
     battleMenu.Close(null);
 }