I like to create a button that links me to another level.
How do i create a button that i can click and than load another level
this is my code so far
#pragma strict
function Start () {
}
function Update () {
if(Input.GetButton(“t”)){
//Debug.Log(“Hello”);
Application.LoadLevel(“rob2”);
}
}
Stijn