Beispiel #1
0
 public void UpdateLevel()
 {
     textComponent.text = "Level " + (gameManager.GetLevel() + 1) + " completed \n\nScore: " + gameManager.GetCurrentScore() + " \n\n Enemies defeated: " + gameManager.GetEnemiesDefeated();
 }
Beispiel #2
0
 public void UpdateScore()
 {
     textComponent.text = "Score: " + gameManager.GetCurrentScore();
 }