I check the console when i try to start my game and it wont start the game unless i add a semicolon to a closing tag ( } ). So i do this even though it doesnt make sense. Then it tells me to remove it. Im not sure what to do
Here is my “faulty code”:
function(OnMouseOver) {
if(Input.GetMouseDown(0)) {
Application.LoadLevel("Level 1");
renderer.material.color = Color.red;
}
}
ANY HELP IS APPRECIATED!!!
Thanks.