Пример #1
0
 // Update is called once per frame
 void Update()
 {
     scoreText.text = "SCORE: " + PlayerStatsManager.GetPlayerScore();
 }
 void Awake()
 {
     gameOverScore      = GetComponent <Text> ();
     gameOverScore.text = PlayerStatsManager.GetPlayerScore().ToString();
 }