Home 3 › 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 10 months, 2 weeks 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.