Esempio n. 1
0
    void Score()
    {
        uint score;

        score = ScoreCounte.CurrentScore();
        scoreText.GetComponent <Text> ().text = "= " + score.ToString();
    }
 // Use this for initialization
 void Start()
 {
     text      = GetComponent <Text>();
     text.text = ScoreCounte.CurrentScore().ToString();
 }