Tasharen Entertainment Forum
Support => NGUI 3 Support => Topic started by: dendenny01 on June 20, 2014, 11:57:45 PM
-
It been quite a while I have been using NGUI and it had worked like a charm for me.
I would like to know how can I achieve the sliding toggle Button Behavior
the toggle Button I am looking is like the On/off slide button in Iphone where you have to slide
to change the state
(http://ethercycle.com/blog/uploads/0919-Toggle_Switches.jpg)
How can I create this sliding Button any help will be appreciated
-
Slider with 2 steps, foreground being the green sprite and background being the red sprite. The thumb sprite should have a script that sets slider's value to either 0 or 1 -- the opposite of what it is now.