void OnPlayerLifeChanged() { if (GameMode == (int)GameModes.Casual) { LivesText.text = "CASUAL"; } else if (GameMode == (int)GameModes.Normal) { LivesText.text = PlayerLives.ToString(); } if (PlayerLives <= 0) { GameOver(); } }