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(); }