Tasharen Entertainment Forum
Support => NGUI 3 Support => Topic started by: mrinvisible on December 17, 2013, 05:59:44 AM
-
Hi, I am a newbie of NGUI and Unity.
I have a question that: I try to create 3 tab with tab bar contains 3 ImageButton. Each ImageButton, I set 4 states.
And I want to when I click on Tab 1, ImageButton1 has state "pressed", 2 others has state "normal".
Sorry, but please help me :(.
Thank you!
-
And I tried with NGUI_3.0.7f1 :)
-
Fake it instead.
Add a UIImage Button and a UIToggle to the same object GameObject. Set a background to be the target of the UIImage button, add the right images. Then add a checkmark as a target of the UIToggle. The checkmark will be whatever you want your tabbed state to be.
Copy and paste the GameObject, and set all the UIToggles to the same toggle group.
-
This might also help: http://www.tasharen.com/forum/index.php?topic=7202.msg33960#msg33960
-
Thanks @ArenMook, that helped me :).
Thank you so much, again ^^!
Regards.