Frame-by-frame Animation
You can use Sprite Swap to quickly swap the Sprites rendered at run time, to create a frame-by-frame animation. This is useful for simple animations, such as to show a character blinking.
The following is the recommended workflow:
Place the Sprites for each animation frame in the Sprite Library Asset, and assign them all to the same Category. Give each Sprite a Label. Label names must be unique in their Category.
Select your character Prefab, and bring it into the Scene.
Open the Animation window, and select your character Prefab. and Select the Add Property button, and select the Sprite Resolver component’s Label property.
Change the Label property at each keyframe in the Animation window in order of your Animation frames. This simulates a frame-by-frame animation style.