This is a part of the code:
function OnGUI () {
var DuzinaSobe=0;
var SirinaSobe=0;
GUIStyle Stil = new GUIStyle();
Stil.color=color.green;
Application throws me an error:
Assets/StartMenu.js(9,17): UCE0001: ‘;’ expected. Insert a semicolon at the end.
I tried to restart unity, to put a space between () and semicolon but nothing helps…
Where is that error? Am I blind, or what?
Thanks…
EDIT: Forgot to tell that error point to the line containing
GUIStyle Stil = new GUIStyle();