void Update() { setHighScore(); scoreUiText.text = "Score: " + Score; highScore = highScoreXml.load(); gameOver(); }
private void Start() { highScoreXml = new HighScoreXML(); highScore = highScoreXml.load(); }
private void Start() { highScoreXml = new HighScoreXML(); highScore.text = "Highscore: " + highScoreXml.load().ToString(); }