/av3-animator-as-code

Generate animator layers and animations from a fluent builder syntax. Initially designed for use in VRChat, this is now a generic package that does not require it.

Primary LanguageC#MIT LicenseMIT

Animator As Code V1

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.

Installation

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

Animator As Code V0

  • You can browse the repository in its V0 state.