Ejemplo n.º 1
0
 public void OnPlayerDied()
 {
     thePlayer.gameObject.SetActive(false);
     theDeathScreen.gameObject.SetActive(true);
     theDeathScreen.ShowFinalPoints(theScoreManager.GetScoreCount());
     theScoreManager.OnPlayerDye();
     theScoreManager.HideScores();
 }