I am trying to hide my Panel called main menu but can't seem to do it. The code:
GameObject.Find("MainMenu").renderer.enabled=false
tells me there is no renderer enabled.
I can make it a prefab and destroy and create it when necessary, but hiding it might just be faster for my particular situation.
Thanks,