After Downloading Animancer, when you import it the samples are located in a folder which is hidden by default.
You can then import the samples via the Package Manager:
Unity 2022 | Unity 6 |
---|---|
- Go to the packages in your project.
- Select
Animancer
underPackages - Kybernetik
(notPackages - Asset Store
). - Go to the
Samples
tab. - Click
Import
to extract them to Assets\Samples\Animancer\<CurrentVersion>\Animancer Samples.
This creates a copy of the hidden folder so you can feel free to modify them and delete them when you're done.
The following sections contain detailed tutorials to explain each of those samples which are designed to teach you how to use the various parts of Animancer so you can use that knowledge to write your own scripts.
Recommendations
- Start with the Basics if you're new to Animancer, then feel free to skip to any sections that you're interested in or go through them in order.
- If you want to use any of the sample scripts in your project, make a copy first and use the copy so you can make any modifications necessary for your use case and don't risk losing your work if you update to a newer version of Animancer where the samples have been changed.
- Delete the samples once you're done with them since they contain lots of assets. Even though the assets are all quite small and won't be included in your runtime builds (unless you actually use them), the animations in particular will notably clutter up the Object Picker window whenever you're trying to select an animation.
Resources
- The Platformer Game Kit is a much more extensive sample of how to use Animancer in a complex game.
- Unity Learn has many tutorials relating to animation. The parts that talk about Animator Controllers might not be directly useful (unless you're actually using Animator Controllers with Animancer), but the general animation concepts are still applicable to Animancer.
01 Basics | Getting to know Animancer and performing simple tasks. |
02 Fine Control | Manipulating the speed and time of animations at runtime and playing animations in Edit Mode. |
03 Mixers | Using Mixers and Blend Trees to dynamically blend multiple animations. |
04 Layers | Using Layers to dynamically play multiple animations at the same time on different body parts. |
05 Events | Using Animation Events to trigger callbacks, adjust exit transitions, and perform other tasks at a specific time during the animation. |
06 State Machines | Organising complex systems using Finite State Machines to compartmentalise their logic, resulting in modular scripts which are easy to debug and refactor. |
07 Sprites | Grouping animations into sets of up/right/down/left (including or excluding diagonals) using ScriptableObjects to implement characters who can face any direction while performing animations. |
08 Animator Controllers | Using Animator Controllers within Animancer or remaking them using direct references instead. |
09 Inverse Kinematics | Dynamically controlling characters using Inverse Kinematics. |
10 Animation Jobs | Using the Animation Jobs system with Animancer. |
Integration | Using Animancer with other plugins. |
No Video Tutorials | An explanation of why Animancer doesn't have any pure video tutorials. |