AnimatorController as a Code
A small Unity Editor Library to generate AnimatorController with C# Code
com.anatawa12.animator-controller-as-a-code Install via UPM
Add to Unity Package Manager using this URL
https://www.pkglnk.dev/track/animator-controller-as-a-code.git README
AnimatorController as a Code
#ACaaC: A small Unity Editor Library to generate AnimatorController with C# Code.
Inspired by AV3 Animator as Code but it depends on VRChat SDK. This library is made for vanilla Unity without any libraries.
Installation
Using OpenUPM
This project is also published on OpenUPM. See Package Page on OpenUPM for Installation steps.
Using add package from git url
You can add https://github.com/anatawa12/AnimatorController-as-a-Code.git#<version> as git-based UPM dependencies.
See Installing from a Git URL on Unity Documentation for more details.
Using VPM CommandLine Interface
You may install this package using VPM/VCC CLI. This is recommended step for VRChat Avatars/Worlds Projects.
# add our vpm repository
vpm add repo https://vpm.anatawa12.com/vpm.json
# add package to your project
cd /path/to/your-unity-project
vpm add package com.anatawa12.animator-controller-as-a-code
Using Installer UnityPackage with VPM
With VPAI You can include this package with
- download installer unitypackag here.
- Make sure your project contains
vpm-resolver. If your project is VRChat Avatars/Worlds project with VCC, It's installed. - Import the unitypackage into your project.
How to Use
Overview Steps
Install ACaaC to your Unity Package
If your project is version controlled, please ignore
*.generated.controllerfrom version control.Create Assembly Definition file for ACaaC Generators.
It's recommended to completely separate your main module and ACaaC Generator Code to reduce regeneration. However, it's supported to use asmdef for your main module.
Reference
com.anatawa12.animator-controller-as-a-code.framework.asmdefinPackages/com.anatawa12.animator-controller-as-a-code/FrameworkCreate class extends
Anatawa12.AnimatorControllerAsACode.Framework.GeneratorLayerBasein your module & write generation codeCreate/Animator Controller Generatorin context menu of Project tab in Unity to createAnimatorControllerGeneratorClick
Add Generaorand select your Generator created in step 5.Configure your generator.
Close Inspector or click
Manual Generateto generate your AnimatorController
When you modify something, ACaaC will automatically re-runs generator to keep up-to-date generated controller.
For detail API documentation, see documentation comments.
Versioning
This system uses Semantic Versioning.
Installs Over Time
Operating Systems
No data yet
Top Countries
No data yet
Git Versions
No data yet
Embed Install Badge
Add an install count badge to your README
[](https://www.pkglnk.dev/pkg/animator-controller-as-a-code)<a href="https://www.pkglnk.dev/pkg/animator-controller-as-a-code"><img src="https://www.pkglnk.dev/badge/animator-controller-as-a-code.svg?style=pkglnk" alt="pkglnk installs"></a>
No comments yet. Be the first!