Unity 4.6 UI - Accessing a Panel from a Script?

Seems like the Panel is the only UI Component you can’t access from a script, am I wrong? Am I missing it? Is it not called a Panel?

I need a simple way to manage a group of UI Components ( Similar to an online games interface popping up ), and have the ability to enable/disable them instantly.

Enabling/Disabling them one at a time is a mess, and grouping them is just so much easier.

There is no such thing as a panel component. The panel created from the UI menu is a GameObject with a RectTransform and an Image component attached. You can access any of these via script. It sounds like what you are looking for is simply GameObject.SetActive()

Look into Canvas Groups, I was wondering the same thing and they seem to do what we thought the panel was for.

How do I reference a panel via script without using public variables? because prefabs can’t use public variables.

I know I’m like 6 years late but, how do I reference a panel via script without using public variables? because prefabs can’t use public variables.