Ejemplo n.º 1
0
 public void PauseGame()
 {
     obstacleController.StopBlocks();
     player.SetAlive(false);
     deathSound.Play();
     deathMenu.gameObject.SetActive(true);
 }