Ok, So i need to be able to have buttons in a group of panels. There will be buttons or tabs at the top that have names on them. I will need to click the buttons to switch back and forth through panels of buttons.
So make sure a click on the tab deactivates the upmost panel with the rest of the tab-content-ui and activates the one it wants to show.
You can make each tab button a Toggle, and use a ToggleGroup to automatically deactivate all but the one you just clicked.
https://docs.unity3d.com/Manual/script-Toggle.html
https://docs.unity3d.com/Manual/script-ToggleGroup.html
Just a few days ago there was an asset released that does exactly what you want.
It’s called Woo Panels. There is a forum thread as well. Cheers!
how would i do this??
Hi @Hawk49011
Not sure exactly what you are trying to do, but tabs are just a visual gimmick.
Basically you have four buttons, and each button is mapped to a panel.
When you press/click tab button1 you show panel1 and hide the other panels, and so on.
BTW I know this is old thread, but you’ll probably get better answers in UI area, if have problem with this.