Exemple #1
0
 private void Update()
 {
     txtPlayer.text = "Player: " + DataScript.GetName() + " Score: " + DataScript.GetScore();
 }
 // loads the player name and score and shows it on the bottom left corner
 void Start()
 {
     score.text = "Player: " + DataScript.GetName() + " Score: " + DataScript.GetScore();
 }