Solved
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!
Solved
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!