|
I'm trying to make a Timer Via GUIText heres my code that I attached to the GUI Text but When I go into debug mode the text just says "GUI Text" What Am I doing wrong? also I got the code from a forum thread that I read.
(comments are locked)
|
|
You are never assigning theTime to the GUIText's text string. Either make the GUIText a public variable and assign it with the Inspector, then set it, or use GameObject.Find in Startup to get a handle on it. BTW: You are subtracting the current time from start time, which will always be negative, try reversing that.
(comments are locked)
|
