Animator As Code is a small Unity Editor facility to generate Animator layers and animations from a fluent builder syntax written in C#.
Describing your animators as code provides the following advantages:
- you do not need to edit your animations by hand every time you add remove or change the location of a component in your hierarchy
- you will not need to edit a hundred transitions by hand if you need to rectify your animator
Initially designed for use in VRChat to create Avatars 3.0 animator controllers, this is now a generic package that does not require it.
AnimatorAsCode-f-github.mp4
Initially created by @hai-vr,
- with major contributions from @galister for supporting sub-state machines and the generic use of nodes and parameters.
If you are using Animator As Code in VRChat, install using the VRChat Creator Companion or ALCOM. Instructions are available in this page.
Otherwise, if you are not using VRChat, install it through the Releases.
- Documentation
- V1 Reference manual
- V1 Functions reference
- VRChat reference
- VRChat (Destructive Workflow) reference
- Modular Avatar As Code reference
- You can browse the repository in its V0 state.