GENERAL
ROTORS
DocumentationBAS 1.0

Glossary / Preparation and runtime

Script compilation

Script compilation converts C# source files into the assemblies used by Unity.

In BAS

Generate AnimInstance writes runtime C# source. The new type becomes available after successful compilation and the required assembly reload.

This is separate from BAS graph compilation, which prepares an animation graph program. A source error can prevent the new runtime type from becoming available.

Example

Generate the runtime class, wait for compilation and reload, then check the graph instance-type selection.

  1. Generate AnimInstanceWrite C# source
  2. Unity compilationCompile and reload the assembly
  3. Runtime typeSelect the type in BAS
Unity must compile the generated source before BAS can use the new runtime type.

Tools and examples

Reference details

This definition describes the term as used in BAS 1.0.

General Rotors · Burst Animation System · Glossary