Preparing And Importing Artwork
To prepare character artwork to animate with the 2D Animation package, arrange and separate the individual parts of your character onto different Layers (see Fig. 1) in Photoshop. The PSD Importer imports the graphic data from each Photoshop layer and automatically arranges the individual Layers into both a Sprite Sheet and a Prefab with the Sprite in their original positions (see Fig 2).
Fig 1: Layered character artwork in Adobe Photoshop.
Fig. 2: The different parts/Layers of the character arranged into a Sprite Sheet layout.
Photoshop File and PSD Importer Settings
Prepare the character artwork by separating the character's limbs and parts into separate layers and then arrange them in a default pose.
Save your artwork as a PSB file in Adobe Photoshop by selecting the Large Document Format under the Save As menu. You can convert an existing PSD file to PSB in the same way.
Import the PSB file into Unity as an Asset.
Select the Asset to bring up the PSD Importer Inspector window.
In the Inspector window, ensure the following settings are set:
- Set Texture Type to Sprite(2D and UI).
- Set Sprite Mode to Multiple.
- Check the __Mosaic __checkbox.
- Check the __Character Rig __checkbox.
Check the Use Layer Grouping checkbox if you want to preserve any Layer Groups in the PSB file.
Importer Window settings
Click Apply to apply the settings. Refer to the PSD Importer documentation for more information about these import settings.