适用于 Unity 的 Aseprite 动画导入器
This tool is an Aseprite and PyxelEdit Animation Importer for Unity. It's already used in several projects and should work for most use cases. There is no guaranteed support though, so test and use this at your own will.
Tested with: Unity 2021.3, Aseprite 1.2.40
Required Unity packages: 2D Sprite
This extension can be installed using Unity package manager.https://github.com/talecrafter/AnimationImporter.git?path=/Assets
Package manager UI
Manifest
{
"dependencies": {
"com.talecrafter.animationimporter": "https://github.com/talecrafter/AnimationImporter.git?path=/Assets"
}
}Or by importing the content of Assets into the Plugins folder in Unity.
Open the tool with "Window" -> "Animation Importer". If using Aseprite: Edit the path to the Aseprite Application on your system under "Config".
ASEPRITE:
Generate a file with animations (tags) in Aseprite. Save that file in your Unity project. Open the tool "Animation Importer" from the Menu "Window". Drag and drop the Aseprite asset on one of the fields according to your needs.
When you update the animations, drop the asset again on the same tool. It should use the existing AnimatorController or AnimatorOverrideController, so if you have used them in the scene or prefabs, the reference is not lost.
Steps this tool goes through:
PYXELEDIT:
Tiles and Layer Blend Modes are not supported.
Generate a file with animations in PyxelEdit. Save that file in your Unity project. Open the tool "Animation Importer" from the Menu "Window". Drag and drop the PyxelEdit asset on one of the fields according to your needs.
When you update the animations, drop the asset again on the same tool. It should use the existing AnimatorController or AnimatorOverrideController, so if you have used them in the scene or prefabs, the reference is not lost.
Steps this tool goes through:
AUTOMATIC IMPORT
This option reimports Animation files when Unity notifies them as changed. It looks for an AnimatorController or AnimatorOverrideController with the same name and in the same directory. Current import settings are used, not the ones from first import.
PIVOT POINTS
Pivot point settings get reused on further reimports. If you want to apply the pivot point settings from the Animation Importer on Animations that got imported already, delete the sprites and then import again.
Send your comments and questions to [email protected] or http://twitter.com/talecrafter. You can use the GitHub Features (Issues, Pull Requests) for posting bugs, feature wishes and additional code.
Contributors:
Contains JSONObject from Boomlagoon (www.boomlagoon.com)
You can freely use/distribute this project in any way possible with the exception of selling it on it's own.
暂无开放 Issues,或尚未同步最近议题。