- Home /
Question by
Tiebo · May 09, 2017 at 05:20 AM ·
uiswaptoggle buttonsprite sheets
Sprite Swap Toggle Button not working
Hey there,
I have a problem. I want a toggle button to switch the sprite depending on it's state. I have set up the Image Source Image to Sprite A, the Toggle Transition to "Sprite Swap" and the Pressed Sprite to Sprite B.
Now when I press my button the sprite swaps as long I keep it pressed. As soon as I release the button Sprite A comes back although the value isOn remains true.
Chaning the highlighted sprite does not no anything either.
What am I missing?
Thanks again!
Tobi
Comment
Your answer
Follow this Question
Related Questions
ui radio button 2 Answers
Does a toggle component have to be a checkbox? 0 Answers
How does this UI toggle work? 1 Answer
Adding Listener to Toggle 1 Answer
how to swap image position 3 Answers