Esempio n. 1
0
 public void OpenMenu(EActionMenuState menuState, UnityAction undoAction = null)
 {
     ChangeState(EBattleState.Menu);
     gameMode.slgCamera.SetControlMode(CameraControlMode.DisableControl);
     if (undoAction != null)
     {
         uiManager.MenuUndoAction.Push(undoAction);
     }
     uiManager.ShowBattleActionMenu(menuState, CurrentCharacterLogic);
 }
Esempio n. 2
0
 public void ShowBattleActionMenu(EActionMenuState state, CharacterLogic chLogic)
 {
     HideBattleMainMenu();
     switch (state)
     {
     case EActionMenuState.Main:
         BuildBattleActionMenu_Main(chLogic);
         break;
     }
     eActionMenuState = state;
     BattleActionMenu.Show();
 }