Tasharen Entertainment Forum
Support => NGUI 3 Support => Topic started by: Ernest on December 16, 2013, 04:17:05 AM
-
Hi, i'm using the uiToggle and uiToggledObjects components to create a tab system (like specified in the new documentation), and i'm having a little problem when i launch the game: i can see the content in all the panels. I set the "Starting state" to true in my first tab and i set his associated panel in the Activate list in uiToggledObjects (and the other panels and the desactivate list). The problem does not occure anymore when i click on another tab and i come back to the first one.
Thanks for your support!
-
Common issue it seems. People think that they need to set both "Activate" and "Deactivate" fields for each script.
That's not the case.
Only set the "Activate" section for each toggle. Don't touch the "Deactivate". It's automatic. Just look at what I did in the Tabs example.
-
Ok! Nice :) But why the Desactivate list is set public if we don't have to modify it manually?
-
To make it possible to deactivate objects unrelated to other toggles.
-
Common issue it seems. People think that they need to set both "Activate" and "Deactivate" fields for each script.
That's not the case.
Only set the "Activate" section for each toggle. Don't touch the "Deactivate". It's automatic. Just look at what I did in the Tabs example.
Hi
I'm currently trying to figure out how to make tabs in NGUI and have been going through your youtube tutorials but have yet to find a tabs one... any chance you could please point me in the right direction? (Thanks)
-
Example 13 - Tabs?
-
Hi
Thanks for reply, appreciated.
At the risk of sounding stupid (a common problem) I can't find 'example 13 - tabs'. Are you referring to a youtube tutorial or a page on this site?
I have tried
...using the site search on here
...browsing the demo pages
...& rooting through your youtube page
but can't find the tutorial you refer to?
Sorry / Thanks
-
I don't think I ever created a youtube tutorial for it, but it's just one of NGUI's examples that come with it. Just import the Examples folder and you'll find it.
-
Oh ok, that explains why I can't find it. Where I work NGUI is built into the environment but we dont have access to it in a file browser like that so cant get to the examples. Hmmph. Cheers anyway