Hello,
I have the following:
in Update:
if(Input.GetMouseButtonDown(0))
Application.LoadLevel(levelName);
in OnGUI:
if(GUI.Button(…))
Application.LoadLevel(otherLevel);
and the problem is I can’t load the level ‘otherLevel’ when I press the button. What can I do?
Thank you