Hi, I have a compiler error that’s saying there’s no semi-colon inserted. In my code, however, I’m mostly sure that the ‘;’ 's are in the right place. I would be very grateful if you could take a look
Thanks in advance
My code is:
#pragma strict
private var guiShow : boolean false;
var riddle : Texture;
function OnGUI()
{
if(guiShow == true) {
GUI.DrawTexture(Rect(Screen.width / 4.5, Screen.height / 4, 1024, 512, riddle));
}
}