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):
}
}
↧