void UpdateTheScore() { //Fetch the scores from the player prefabs highScore = PlayerPrefabsManager.GetHighScoreKey(); finalScore = PlayerPrefabsManager.GetScoreKey(); //Display scores highScoreText.text = "High Score: " + highScore.ToString(); finalScoreText.text = "Your Score: " + finalScore.ToString(); }
void UpdateTheScore() { //scores highScore = PlayerPrefabsManager.GetHighScoreKey(); finalScore = PlayerPrefabsManager.GetScoreKey(); //display scores highScoreText.text = "High Score: " + highScore.ToString(); finalScoreText.text = "Your Score: " + finalScore.ToString(); }