Summary
[Editor-Only]
Context menu functions for generating
Animancer.TransitionAssets
based on the contents of Animator Controllers.
- Assembly
- Animancer
.dll - Namespace
- Animancer
.Editor - Base Types
-
- Object
graph BT
Type-->Base0["Object"]
Type["TransitionAssetGenerator"]
class Type type-node
Syntax
public static class TransitionAssetGenerator
Methods
| Name | Value | Summary |
|---|---|---|
| CreateTransition |
Object |
Creates an
Animancer.TransitionAssetBase from the `blendTree`.static
|
| GenerateTransition |
Object |
Creates an
Animancer.TransitionAssetBase from the `state`.static
|
| GenerateTransition |
Object |
Creates an
Animancer.TransitionAssetBase from the `blendTree`.static
|
| GenerateTransition |
Object |
Creates an
Animancer.TransitionAssetBase from the `transition`.static
|
| GenerateTransition |
Object |
Creates an
Animancer.TransitionAssetBase from the `motion`.static
|
| GenerateTransitions |
Object |
Creates
Animancer.TransitionAssetBases from all states in the `stateMachine`.static
|
| GetDetailsFromState |
void |
Initializes the `transition` based on the `state`.
static
|
| InitializeChildren |
ChildMotion[] |
Initializes the `transition` based on the
UnityEditor.Animations.BlendTree.children.static
|
| InitializeChildren1D |
Linear |
Initializes the `transition` based on the
UnityEditor.Animations.BlendTree.children.static
|
| InitializeChildren2D |
MixerTransition2D |
Initializes the `transition` based on the
UnityEditor.Animations.BlendTree.children.static
|
| SaveTransition |
void |
Saves the `transition` in the same folder as the `originalAsset`.
static
|