In this recipe, we will see how the individual sprites belonging to a character are prepared for keyframe animation.
We are going to create an entirely new character for this recipe, so start by creating a new scene in your Unity project.
Next, import the keyframe_anim PNG image we have provided with the contents of this book to the Sprites folder located in Assets. We've done this many times so far. The image contains the blocks to actually build up two characters, an orc and a knight. We will use the knight for this recipe, and once you have learned the process, you can make the orc or even mix the two characters to get something original!
Select the PNG image you just imported. Then set Texture Type to Sprite and Sprite Mode to Multiple in the Inspector window, as shown in the following screenshot:
Use the Slice menu, which is set to Automatic, to slice the image into its individual...