Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public override void Update()
- {
- if (highScoreManager.Instance.hasHighScore(CurrentPlayer))
- HighScoreText = "NEW HIGHSCORE!";
- else
- HighScoreText = "Sorry, better luck next time!";
- base.Update(); // This is considered part of the else block. ALWAYS USE CURLY BRACKETS TO AVOID HEAD-RAPING BUGS LIKE THIS.
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement