Esempio n. 1
0
 // Use this for initialization
 void Start()
 {
     GetComponent <TextMesh> ().text = "GameOver\nScore:" + ScoreCounter.CurrentScore().ToString();
 }
Esempio n. 2
0
 // Update is called once per frame
 void Update()
 {
     scoreText.text = "Score:" + ScoreCounter.CurrentScore().ToString();
 }