Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: Splatics on December 12, 2012, 12:41:41 PM

Title: Change texture for button when Clicked
Post by: Splatics on December 12, 2012, 12:41:41 PM
I have two images for a button.  One image for the regular state, and one image for the clicked state.  Both images are in the same Atlas.  I can see where I can change the color for a button when its clicked but how do I change the image when the button is clicked?  Thanks!
Title: Re: Change texture for button when Clicked
Post by: ArenMook on December 12, 2012, 02:54:35 PM
Use a UIImageButton
Title: Re: Change texture for button when Clicked
Post by: Splatics on December 12, 2012, 03:31:55 PM
Great!  Thanks!