Exemplo n.º 1
0
 private void EndGame()
 {
     highScoreManager.ProcessNewScore(score);
     gameOverScreen.Set(score);
     gameOverScreen.Toggle(true);
     ball.gameObject.SetActive(false);
     StopAllCoroutines();
     ResetGameState();
 }