// Use this for initialization void Start() { gameController = GameController.Instance (); text = GetComponent<Text> (); text.text = prefixText+gameController.GetTotalScore ()+suffixText; }
// Use this for initialization void Start() { gameController = GameController.Instance (); text = GetComponent<Text> (); text.text = prefixText+gameController.GetTotalScore ()+suffixText; }