i been using GUI to display score now i want to use UI but i can’t make it work any help?
public Text myScore;
private int Score = 0;
// Use this for initialization
void Start () {
MakeScore ();
InvokeRepeating ("AddScore", 1, 1); }
void MakeScore()
{
myScore.text = "Score: " + Score.ToString ();
}
void AddScore()
{
Score += 10;
}
}