Unity's inbuilt method for creating Sprite
animations is to Drag and Drop them into the Hierarchy window which is somewhat tedious if you need to create multiple animations, so this Tool allows you to instantly generate animations from Sprite
s based on their names. If you haven't given your Sprite
s useful names yet, the Rename Sprites tool makes it easy to do so.
Naming
This tool groups the Sprite
s based on their names with any numbers removed from the end. For example, selecting Sprite
s with the following names:
- Dog-Idle1
- Dog-Idle2
- Dog2-Walk 1
- Dog2-Walk 2
- Dog2-Walk 3
- Dog2-Walk 4
Would generate the following animations:
Animation | Frames |
---|---|
Dog-Idle.anim (2 frames) |
|
Dog2-Walk.anim (4 frames) |
|
Animations are saved in the same directory as the Sprite
s they came from.
Drag and Drop
Unity's inbuilt method for creating Sprite
animations is to drag and drop them into the Hierarchy window:
- Select all the
Sprite
s you want to include in the animation. - Drag and Drop them into the Hierarchy window.
- Use the dialogue box to choose where to save the animation and what to call it.
- Delete the object it created in the scene.
- Delete the Animator Controller it created (because you don't need them with Animancer).
The third thing it created is the animation containing those Sprites.
Animancer plays the same Animation Clips as Unity's Animator Controller system, so any of the official Unity tutorials about creating Sprite animations will still be relevant: