arenos-nexus/Arenos Nexus/Library/PackageCache/com.unity.2d.animation@34e0443c58ed/Documentation~/ex-single-skinned-sprite.md
Daniel 2e704cae70 init
Init Commit Unity
2025-09-25 22:01:28 +02:00

1.6 KiB
Raw Blame History

Single Sprite rig with bone branching

This sample project is a slightly more complex example of a single Sprite rig similar to the Simple project, but with bone branching instead of a single branch rig. The Sprite was imported with the PSD Importer package.

The project and assets are in the Assets/Samples/2D Animation/[X.Y.Z]/Samples/2 Single Skinned Sprite/ in the Project window.

Open the Asset Assets/Samples/2D Animation/[X.Y.Z]/Samples/2 Single Skinned Sprite/Sprites/Plunkah.psd in the Skinning Editor module to examine how the Sprite is rigged.

The Skinning Editor with the Plunkah sprite open. Each bone is a different color.

The _Single Skinned Sprite sample Scene show how the Asset is used in a Scene when it is animated with animation that deforms its Sprite mesh.

The Scene view showing the Plunkah sprite, with each bone shown in white.

Follow the steps below to reconstruct the _Single Skinned Sprite sample Scene:

  1. Create a new Scene, and drag the 'Plunkah' psd file into the scene.

  2. Add the Animator component to the 'Plunkah' GameObject. Locate the Plunkah Animator Controller Asset in Assets/Samples/2D Animation/[X.Y.Z]/Samples/2 Single Skinned Sprite/Animation/Plunkah.controller and assign this Asset to the Animators Controller property.