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); }
public void ShowBattleActionMenu(EActionMenuState state, CharacterLogic chLogic) { HideBattleMainMenu(); switch (state) { case EActionMenuState.Main: BuildBattleActionMenu_Main(chLogic); break; } eActionMenuState = state; BattleActionMenu.Show(); }