This package provides 2D characters in different game styles that were used by internal Unity teams and are now available to users. Try it to learn about 2D skeletal animation and pixel art.2D Renderer in URP2D skeletal animation in UnityThe name of this sample refers specifically to the 2D Animation package available via the Unity Package Manager. 2D skeletal animation in Unity provides great benefits for those needing smooth, lightweight, and reusable animations.The samples use the 2D Animation package in combination with other 2D features like the 2D PSD Importer, sprite libraries, 2D Inverse Kinematics, and 2D lighting.Here’s a quick overview of the steps taken to create the characters in the 2D Animation Samples package:First, we designed the character and made sure to export to a PSD file and make a copy of it so you have a backup for future editing. We put the limbs and body parts in separate layers (merge and flatten layers that could make one of these parts so you have one clean layer with it) and variants of body parts in groups.The file is imported into Unity with the 2D PSD Importer.We used the Skinning Editor in the Sprite Editor to create the skeleton.Auto Weights are selected for converting the sprites into polygons and getting assigned bone influence.We refined the weigh influence and geometry generation.The PSD prefab was then added to the scene and we tested the motion.We set up Sprite Libraries, creating one with the respective categories and labels that will be the blueprint for character variation later.In the prefab, we added a Sprite resolver component to every Sprite Renderer.We added 2D IK to help us with our animation process.For samples using 2D lights, we made a copy of the PSD with the character, painted the normal map version of the limbs, and saved it. We used the same process for mask maps in case we want a special lighting or shader effect. A good video explaining how to create secondary textures can be found here.Lastly, we added those secondary textures in the Sprite Editor.2D Pixel Perfect and 2D Aseprite Importer packagesNot all samples in the pack are made with 2D Animation. One of the samples included is a pixel art version of Unity Chan, which shows frame-by-frame animations of the character and the seamless integration with Aseprite. They have controls set up, and you can check the original .aseprite files, which were imported straight into Unity, as well as see how the scene is set up with the Pixel Perfect Camera component.Many different art styles and use casesWe hired artists of many different styles to create characters that would fit well in stereotypical 2D games. They provided us with the Photoshop files and then animated them in Unity, together with professional 2D animators.The different demo scenes are in the Scenes folder.This package uses URP and the 2D renderer. Ideally, you want to import this sample in a 2D project started from the 2D template in the Unity Hub.2D Animation, 2D Sprites, 2D PSD Importer, and the Aseprite Importer are used in the sample.




