Haï~ 399b721f4a Add named overload for NewBlendTree() and NewBlendTreeAsRaw():
- Add overload for NewBlendTree() which accepts a name.
- Add overload for NewBlendTreeAsRaw() which accepts a name.
- Addresses #56.
2025-07-11 01:51:45 +02:00
2024-07-01 23:21:17 +02:00

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.

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

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, you may install it through the Releases, or install it through the Unity Package Manager by adding the git url https://github.com/hai-vr/av3-animator-as-code.git?path=/Packages/dev.hai-vr.animator-as-code.v1, or updating your Packages/manifest.json directly by adding the line "dev.hai-vr.animator-as-code.v1": "https://github.com/hai-vr/av3-animator-as-code.git?path=/Packages/dev.hai-vr.animator-as-code.v1".

Documentation

Animator As Code V0

  • You can browse the repository in its V0 state.
S
Description
No description provided
Readme MIT
633 KiB
Languages
C# 80.8%
Rust 18.7%
Nix 0.5%