Esempio n. 1
0
    public override void HandleExitInput()
    {
        if (masterUIState != null && masterUIState.state == UIState.Disabled)
        {
            return;
        }

        if (Input.GetButtonDown(Const_KeyCodes.Cancel))
        {
            Debug.Log($"SavedGameSubmenuInputManager: Cancel called, firing exitSubmenu event");
            Script_StartEventsManager.ExitSubmenu();
        }
    }
 public void HandleSubmenuCancel()
 {
     Debug.Log($"Firing ExitSubmenu() from choice");
     Script_StartEventsManager.ExitSubmenu();
 }