I've declared this at the top of the script
So now that i have the Text UI element as a game object, i want to modify the text in the script.
I have a function to keep score
[4.6 UI] What method do I need to call from the gameObject to modify a Text UI?
- publicGameObject scoreText;
So now that i have the Text UI element as a game object, i want to modify the text in the script.
I have a function to keep score
Code (CSharp):
- public void LZActivated()
- {
- levelScore += 500;...