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

Simple syntax error that I can't seem to find

$
0
0
So I am using this script to travel between scenes, however it says that there are 3 errors with placing ;'s and }'s but i have already placed them, please help. #pragma strict var Scene : int = 0 ; function OnCollisionEnter(my_collider : Collision) { if(my_collider.gameObject.tag == "Player" && Input.GetKeyDown(KeyCode.E)); { Application.LoadLevel(Scene): } }

Viewing all articles
Browse latest Browse all 7934

Trending Articles



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