コード例 #1
0
ファイル: GameOver.cs プロジェクト: ld40-team-unagi/test-game
 // Use this for initialization
 void Start()
 {
     GetComponent <TextMesh> ().text = "GameOver\nScore:" + ScoreCounter.CurrentScore().ToString();
 }
コード例 #2
0
 // Update is called once per frame
 void Update()
 {
     scoreText.text = "Score:" + ScoreCounter.CurrentScore().ToString();
 }