diff --git a/Assets/Scenes/Main.unity b/Assets/Scenes/Main.unity index 29d9ebf..bde4ea7 100644 Binary files a/Assets/Scenes/Main.unity and b/Assets/Scenes/Main.unity differ diff --git a/Assets/Scripts/UIController.cs b/Assets/Scripts/UIController.cs index 52da0e9..7de9991 100644 --- a/Assets/Scripts/UIController.cs +++ b/Assets/Scripts/UIController.cs @@ -23,7 +23,7 @@ public class UIController : MonoBehaviour void Start () { _player = GameObject.FindWithTag("Player").GetComponent(); - HighScore.enabled = false; + HighScore.text = " "; // Keep position of elements, even when not displaying this one _oldHs = PlayerPrefs.GetInt("highscore"); } @@ -45,7 +45,7 @@ public class UIController : MonoBehaviour private void HandleScore() { if (_oldHs < _player.Score) - HighScore.enabled = true; + HighScore.text = "New high score!"; } private void HandlePowerUps()