Пример #1
0
 public void PauseGame()
 {
     if (!isPaused)
     {
         deathMenu.ToggleEndMenu(score);
         isPaused = true;
     }
     else
     {
         deathMenu.UnToggleEndMenu();
         isPaused = false;
     }
 }