Hey there!
I'm trying to create a button that will switch the sprite element in a Sprite Renderer component of another object. I've made a button out of a cube and attached the FSM to that but when I create the "Set Property" action to the cube's fsm, I don't get the option to select the new sprite. However, when I create an FSM on the sprite object, it lets me choose a sprite.
When I drag the Sprite Renderer component to the state list, I select "Sprite Renderer > Get Property". Then under the "Property" drop down, I select "sprite > Sprite". Instead of an image box appearing like I would like, I am left with a "Store Object" option.
Any help would be appreciated!
Thanks.