GENERAL
ROTORS
DocumentationBAS 1.0

Editor guide

Generate AnimInstance

Create an initial runtime class for character animation code.

Editor view

Generate AnimInstance dialog with class name and part options
Choose the class name and the source parts to generate. Select the image to open it at full size.

Open the tool

Open Class Defaults in the Graph Editor and select Generate AnimInstance.

Class and source parts

Set a public class name, optional namespace and runtime C# destination. Choose only the source parts that the class needs.

The previous graph type remains selected until source generation, compilation and reload complete.

Control or sectionFunction
Burst UpdateCreate an unmanaged update struct and its association.
Main-thread LifecycleCreate lifecycle methods for gameplay inputs.
Playback and EventsCreate animation event and playback callbacks.
MovementCreate OnAnimatorMove. Keep one owner for root motion.
GenerateWrite the new class to a valid runtime folder under Assets.

Basic procedure

  1. Choose a valid class name and runtime destination.
  2. Select the required source parts.
  3. Generate the class.
  4. Wait for compilation and reload, then check the graph type selection.

Saved data

  • The tool creates a runtime C# source file.
  • Graph variable and slot declarations remain in the graph generated accessor.

Requirements and limits

  • The class name, namespace and destination must be valid.
  • Do not place the generated runtime class in an Editor-only folder.
Reference details

These instructions describe BAS 1.0 in Unity 6000.3.7f1.

Related Editor types: AnimInstanceGenerationWindow.

General Rotors ยท Burst Animation System 1.0