MixerTransition2D.

CreateState() Method

Summary

Creates and returns a new state depending on the Animancer.MixerTransition2D.Type.
Assembly
Animancer.dll
Namespace
Animancer
Containing Type
MixerTransition2D

Syntax

public override Vector2MixerState CreateState()

Remarks

Note that using methods like AnimancerGraph.Play(ITransition) will also call Animancer.ITransition.Apply(Animancer.AnimancerState), so if you call this method manually you may want to call that method as well. Or you can just use Animancer.AnimancerUtilities.CreateStateAndApply(Animancer.ITransition,Animancer.AnimancerGraph).

This method also assigns it as the Animancer.Transition`1.State.

Return Value

Type Description
Vector2MixerState