Quantcast
Channel: Questions in topic: "error"
Viewing all articles
Browse latest Browse all 7934

Why do i get an EOF error?

$
0
0
var isQuitButton = false; function OnMouseEnter() { renderer.material.color = Color.green; } function OnMouseExit() { renderer.material.color = Color.white; } function OnMouseUP ( //are we dealing with quit button? if( isQuitButton ); { //quit game Application.Quit(); } else { //load level Application.LevelLoad(1); } ) It says there should be an EOF on the else line. Why I haven't left any brackets open to my knowledge. And on the if( isQuitButton ) I get an unexpected token: if (BCE0043) Does anyone know why?

Viewing all articles
Browse latest Browse all 7934

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>