void OnPlayerDied() { gameOver = true; gameOverLogic = new GameOverLogic(gameOverPage); gameOverLogic.DrawPage(Won); SetPageState(PageState.GameOver); }
private void OnPlayerDied() { gameOver = true; Joystick.IsAwake = false; SetPageState(PageState.GameOver); gameOverLogic = new GameOverLogic(GameOverPage); gameOverLogic.DrawPage(won); }
public void GameOver() { Time.timeScale = 0; gameOver = true; gameOverPannel.SetActive(true); gameOverLogic = new GameOverLogic(gameOverPannel); gameOverLogic.DrawPage(won); }