public void Update() { _ending = ApplicationState.Ending; if (_ending != NoEnding) { if (!_endingActive) { _endingActive = true; ToggleCameras(); RunEnding(); } if (Input.GetButtonDown("Jump")) { RestartGame(); } if (Input.GetKey(KeyCode.Escape)) { GlobalGameState.LoadMainMenu(); } } }
public void GoToTitleScreen() { GlobalGameState.LoadMainMenu(); }