Hello,
Is there a way to change the sprite from a Sprite Renderer component at runtime?
I can drag the Sprite Renderer component to a FSM State to create a Set Property action, and I can drag a Sprite into the Sprite field, but that's all.
The other option besides dragging the Sprite should be selecting a variable, but I couldn't find any variable that can fit in this field. I've tried all variable types and none worked, the drop box always show "none".
I need a way to change the sprite using the sprite name generated at runtime.
Thanks,
Alexandre