TransitionAssetGenerator.

InitializeChildren<TTransition, TState>(TTransition, BlendTree) Method

Summary

Initializes the `transition` based on the UnityEditor.Animations.BlendTree.children.
Assembly
Animancer.dll
Namespace
Animancer.Editor
Containing Type
TransitionAssetGenerator

Syntax

public static ChildMotion[] InitializeChildren<TTransition, TState>(out TTransition transition, BlendTree blendTree) 
    where TTransition : ManualMixerTransition<TState>, new() where TState : ManualMixerState

Type Parameters

Name Description
TTransition
TState

Parameters

Name Type Description
transition TTransition
blendTree BlendTree

Return Value

Type Description
ChildMotion[]