Introduction to 2D Animation
2D 动画简介
The 2D Animation package includes features and tools that allow you to quickly rig and animate 2D characters in Unity in a variety of ways. The different versions of the 2D Animation package are supported by the following versions of Unity respectively:
2D 动画包包含功能和工具,允许您以多种方式快速绑定和动画化 Unity 中的 2D 角色。不同版本的 2D 动画包分别由以下版本的 Unity 支持:
Package version 包版本 | Unity Editor version Unity 编辑器版本 |
---|---|
9.x.x | 2022.2 |
8.x.x | 2022.1 |
7.x.x | 2021.2 |
6.x.x | 2021.1 |
5.x.x | 2020.2 or 2020.3 2020.2 或 2020.3 |
4.x.x | 2020.1 |
3.x.x | 2019.3 or 2019.4 2019.3 或 2019.4 |
2D Animation and PSD Importer package integration
2D 动画和 PSD 导入器包集成
Use the 2D Animation package with the PSD Importer package to easily import character artwork created in Photoshop into Unity, and prepare it for animation with the 2D Animation package. The PSD Importer is an Asset importer that supports Adobe Photoshop .psb files, and generates a Prefab made of Sprites based on the source file and its layers. The generated Prefab of a character or prop to be animated with the 2D Animation package is called an 'actor'.
使用 2D 动画包和 PSD 导入器包,可以轻松将使用 Photoshop 创建的角色艺术作品导入Unity,并使用 2D 动画包为其准备动画。PSD 导入器是一个资产导入器,支持 Adobe Photoshop .psb 文件,并根据源文件及其图层生成一个由精灵组成的预制件。生成的用于与 2D 动画包一起动画的角色或道具的预制件称为“演员”。
The .psb file format has identical functions as the more common Adobe .psd format, with additional support for much larger image sizes. Refer to the PSD Importer package documentation for more information about the importer’s features.
.psb 文件格式与更常见的 Adobe .psd 格式具有相同的功能,并额外支持更大的图像尺寸。有关导入器功能的更多信息,请参阅 PSD 导入器包文档。
Upgrading Sprite Library Assets and Animation Clips
升级精灵库资产和动画片段
The 2D Animation package and its assets are often updated with major and minor tweaks over time. Some asset improvements can be automatically applied when you upgrade to the latest version of the package. However, some of these changes require a manual step in order to have the assets use the latest code path.
2D 动画包及其资产通常会随着时间的推移进行重大和小幅的更新。当您升级到最新版本的包时,一些资产改进可以自动应用。然而,这些更改中的某些需要手动步骤,以使资产使用最新的代码路径。
The 2D Animation Asset Upgrader tool eases the transition and upgrade of older assets to newer ones. Refer to the 2D Animation Asset Upgrader section for more information.
2D 动画资产升级工具简化了将旧资产过渡和升级到新资产的过程。有关更多信息,请参阅 2D 动画资产升级器部分。