Exemplo n.º 1
0
    private void OpenPauseMenu()
    {
        gameObject.SetActive(true);
        UiEventManager.HideHud();
        SoundManager.PlayEvent(AKID.EVENTS.MENU_PAUSE, gameObject);

        Time.timeScale = 0;
    }
Exemplo n.º 2
0
 /// <summary>
 /// Displays the win screen when the game is completed, and hides the HUD.
 /// </summary>
 private void ShowWinScreen()
 {
     gameObject.SetActive(true);
     UiEventManager.HideHud();
 }