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

NullReferenceException: Object reference not set to an instance of an object at QuitGameScript.OnMouseEnter () [0x00000

$
0
0
var levelToLoad : String; var beep : AudioClip; var QuitButton : boolean = true; function OnMouseEnter() { audio.PlayOneShot(beep); renderer.material.color = Color.green; } function OnMouseExit() { renderer.material.color = Color.white; } function OnMouseUp() { if (QuitButton){ Application.Quit(); } else{ Application.LoadLevel("levelToL­oad"); } }

Viewing all articles
Browse latest Browse all 7934

Trending Articles



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