Hello,
I need to show/ hide a game object. This game object has a lot of javascript on it that makes the option menu.
Now i tried to do the loadmenu function, but i think it is not a menu, so how can i load it in then? Or how can i make it as a menu, with more then 5 scripts in it?
Code:
function OnGUI()
{
if (GUI.Button( Rect( (Screen.width/2)-70, Screen.height - 160, 140, 70), "Options"))
{
isLoading = true;
Application.LoadLevel("Option Menu");
}
}
Gr. Sneakyman 8)