State Visualizer Sprite Swap needs Image as Target instead of SpriteRenderer #959
Unanswered
joey-rieg-bl
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hey,
I wanted to setup a toggle button which switches icons when active/inactive. Intuitively, I chose the Sprite Swap Effect from the Toggle Effects.
Unfortunately, it expects an Image as Target which none of the existing Icon children have.
I could manually add an Image which would automatically add a Canvas as well, but I saw that the Sprite Tint effect is using a SpriteRenderer as Tintable, though. So my question is, why does the Sprite Swap Effect work with an Image instead of a SpriteRenderer as a Target?
Beta Was this translation helpful? Give feedback.
All reactions