Beispiel #1
0
 public void PauseGame()
 {
     isPaused = true;
     challengeCont.PauseGame();
     pauseTime = Time.realtimeSinceStartup;
     audioCont.SetVolume(true);
     playerCont.PauseGame();
     Time.timeScale = 0;
 }