コード例 #1
0
 // Update is called once per frame
 void Update()
 {
     scoreText.text = "SCORE: " + PlayerStatsManager.GetPlayerScore();
 }
コード例 #2
0
 void Awake()
 {
     gameOverScore      = GetComponent <Text> ();
     gameOverScore.text = PlayerStatsManager.GetPlayerScore().ToString();
 }