- Home /
Question by
JediMasterJaffa · Dec 07, 2013 at 08:32 PM ·
javascriptguigui.label
Why doesn't my GUI.Label show up?
I have a script I have been working on, but the GUI.Label won't show up! Check my code please!
var score = 0;
function OnGUI () {
GUI.Label(new Rect(10, 10, 500, 200), "Score: " + score.ToString());
}
Comment
Is the console giving you any errors? It seems like you are missing a ')' at the end of line #4.
Answer by EBR · Dec 07, 2013 at 10:25 PM
Put a close bracket " ) ", at the end of line 4, if that doesn't work then check the console and post the whole script
Your answer
Follow this Question
Related Questions
Multiple Cars not working 1 Answer
How do i merge these things? 1 Answer
JavaScript: GUI Box help 1 Answer
Is it possible to link character skill lists to a GUI, and if so, how? 3 Answers
Pause Menu background problem 0 Answers