Beispiel #1
0
 public void GameOver()
 {
     gameScore.SetActive(false);
     lives.SetActive(false);
     completeLevelUI.SetActive(true);
     if (gameEnded == false)
     {
         gameEnded = true;
         Debug.Log("End game");
         scoreDisplay.EndDisplay(score.score);
     }
 }