A custom Action could be written to change the sprite directly, but the recommended way is to add an Animator component that changes the sprite via animations.
You can then use the Object: Animate Action to change which animation (and hence sprite) is active, and attach the Remember Animator component to automatically store the state in save game files.
Comments