To create an animation from a sprite sheet of frame-by-frame animation images, follow these steps:
- Create a new Unity 2D project.
- Import the provided image: monster1.
- With the monster1 image selected in the Project panel, change its Sprite mode to Multiple in the Inspector, the click the Apply button at the bottom of the panel:
- In the Inspector, open the Sprite Editor panel by clicking the Sprite Editor button.
- In the Sprite Editor, open the Slice drop-down dialog, set the Type to Grid, set the grid PixelSize to 64x64, and then click the Slice button. For Type, choose the drop-down option Grid by CellSize, and set X and ...