Home 4 › Forums › iOS / tvOS Starter Kits › The Story Tellers Kit 2 for iOS or tvOS Apps › Button Push
This topic contains 2 replies, has 2 voices, and was last updated by Jeff Keeme 2 years, 4 months ago.
How do I change the texture of a button when pressed?
Ex. Left Arrow button is pressed and the texture changes to an arrow with a glow and when released the original texture is restored.
Sure, see this page…
Skip down to Triggering Events with Touches
You’ve got TouchEvent and TouchUpEvent. You would want to trigger the texture change on TouchEvent and then set it back to normal on TouchUpEvent.
Then scroll down a bit and you’ll find the SetTexture event.
Thanks Justin. Very easy.
You must be logged in to reply to this topic.
Become part of the CartoonSmart Team with our Affiliate Program
Make recurring money when you refer a subscriber. 30 day tracking. Commissions 33%-50%!
Uh oh, missing your affiliate ID. Create one real quick