Show/ Hide gameobject

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)

Can you give a bit more detail about what you are doing here?

have you tryed to activate/deactivate the scripts and de mesh renderer?

Thanks radiolobito, i will look into that tomorrow. Think that is what i needed. (the renderer)

And else i give more info about it :wink: