- Home /
Quick help on a gui script.
Solved
Comment
Please don't remove your question. The point of this answer system is to build a database of questions and answers so that the same questions don't have to be asked over and over again and people can consult existing questions and answers for their issues.
Best Answer
Answer by daniellasry · Aug 22, 2011 at 05:15 PM
Create a new GUI Text game object in your scene and attach that script to it. Then add this function to the script:
function Update() {
guiText.text = getBalance();
}
That should do it!
Your answer
Follow this Question
Related Questions
GUIText not working properly with a timer. 1 Answer
Scrolling Text 1 Answer
How to create a gui that the user can write in and save? 2 Answers
Bool script error 1 Answer