// Jimmy Vegas Unity Tutorial // This Script will produce buttons on your menu function OnGUI () { if (GUI.Button (Rect (Screen.width/2-50, Screen.height/2, 100, 30), "Play Game")) { Application.LoadLevel (1); } if (GUI.Button (Rect (Screen.width/2-50, Screen.height/2+40, 100, 30), "Quit Game")) { Application.Quit(); } }