Hi.Can anyone help me with the script for loading i made this when i press play button level loads but when i start the scene before my GUI shows it takes me to next level,and i didn’t even click “Play”
this is the script …
function OnGUI () {
GUI.Label (Rect (498,10,120,20), “FPS”);
if (GUI.Button (Rect (450,30,120,20), “Play”));
Application.LoadLevel (1);
}