Exemplo n.º 1
0
 public void Quit()
 {
     print("Game Over Quit");
     gameManager.PauseGame();
     saveStats();
     gameManager.EndGame();
     Application.Quit();
 }
Exemplo n.º 2
0
 public void PauseGame()
 {
     currentPage = Page.PAUSE;
     if (pausePanel)
     {
         pausePanel.SetActive(true);
     }
     gameManager.PauseGame();
 }