When i try to add a script to load a new level in my scene it doesn’t work. My code should be fine with Application.LoadLevel(“SceneName”); But compared to the tutorials i have seen the interface for the On Click () method is different now. At least on my UNITY, this is what i see:
Create an empty and create a new c# script and use
if(GUI.Button(psox, posy, height, width), "some text") //this will make a button
Application.LoadLevel("Level1"); //onclick will Load a level
not sure how to get a textured button yet through but this will function correctlt