Animator As Code V1

January 31, 2026 ยท View on GitHub

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.

https://user-images.githubusercontent.com/60819407/157751278-475538c7-3310-4fa5-9a87-3651c85eaa1c.mp4

Initially created by @hai-vr,

  • with major contributions from @galister for supporting sub-state machines and the generic use of nodes and parameters.

Installation

Instructions to install are available in this page.

Documentation

Animator As Code V0

  • You can browse the repository in its V0 state.