Note that the following example requires the PSD Importer installed. This sample demonstrates how to rig an actor that is made from multiple Sprites, when its source file is imported with the PSD Importer.
Open the Asset Assets/Samples/2D Animation/[X.Y.Z]/Samples/4 Character/Sprites/Fei.psb
in the Skinning Editor module to examine how the Sprite is rigged.
The _Character
sample Scene shows how the Asset is used in a Scene, when it is animated with animation that deforms its Sprite mesh.
Follow the steps below to reconstruct the _Character
sample Scene:
Fei.psb
is imported into the Editor with the PSD Importer with its Character Rig property enabled. The importer generates a Prefab as a sub-Asset of the imported source file. The importer generates Sprites based on the layers of the source file. Refer to the PSD Importer documentation for more information about the importer’s features.
Assets/Samples/2D Animation/[X.Y.Z]/Samples/4 Character/Animation/Animators/Fei.controller
and assign this Asset to the Animator’s Controller property.