In this recipe, we explore the operations required to set up a 2D image as a Sprite type in Unity.
You can start an entirely new project for this chapter, or open the project we are already working on. In either case, add a new folder to the Assets directory of the project and name it Sprites. As we already did this operation in the previous chapters, we won't repeat the steps here.
Import the 2D_Sprites package we have provided with the contents of this book to your project. If you don't remember how to do it, right-click on the Sprites folder you just created and select Import Package/Custom Package... from the menu, as shown in this screenshot:
The package contains two images named 2D_pose and 2D_walk. Ensure that both are selected in the Import panel and then hit Import, as shown in the following screenshot:
Once the importing process is complete, access the Sprites folder and select the first picture, 2D_pose.
Go to the Inspector window and...