private void Update() { if (initAnimFinished) { if (Input.anyKeyDown) { ui.ShowMenu(); } } }
public void BackToMainMenu() { if (inTransitionOrBusy) { return; } Timing.KillCoroutines(); sfxSource.Stop(); mainMenu.ShowMenu(); exitingGameSession = true; inTransitionOrBusy = true; }