so, here is my menu script-
var isQuit=false;
function OnMouseEnter(){
renderer.material.color=Color.red;
}
function OnMouseExit(){
renderer.material.color=Color.white;
}
function OnMouseUp(){
if(isQuit==true)
Application.Quit();
}
else{
Application.LoadLevel(1);
}
}
Why Does It Say "! Assets/Menu.js 20,9: expecting EOF, found ‘else’
usually this should work and i’ve checked it and i cant find any errors from what I can see.