Tasharen Entertainment Forum
Support => NGUI 3 Support => Topic started by: derkoi on May 30, 2012, 03:00:39 PM
-
Is there a way to alternate a button image on press, so every time it gets pressed it goes from say a stripy button to a plain button then back to a stripy button if its pressed again and so on?
Thanks
-
Just create a script has has an OnClick() and swaps the sprite there.
-
I actually ended up using the UICheckbox. Just removed the fade between images. Works perfectly. :)
I must say I'm really enjoying working with NGUI, I'm having to convert an existing UI made with Prime31s UIToolkit because for some reason UIToolkit doesn't display on the Motorola Droid Bionic. ???