Author Topic: Change texture for button when Clicked  (Read 2157 times)

Splatics

  • Guest
Change texture for button when Clicked
« 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!

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Change texture for button when Clicked
« Reply #1 on: December 12, 2012, 02:54:35 PM »
Use a UIImageButton

Splatics

  • Guest
Re: Change texture for button when Clicked
« Reply #2 on: December 12, 2012, 03:31:55 PM »
Great!  Thanks!