ITransition.

CreateState() Method

Summary

Creates and returns a new Animancer.AnimancerState.

Note that using methods like Animancer.AnimancerPlayable.Play(Animancer.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.AnimancerPlayable).
Assembly
Animancer.dll
Namespace
Animancer
Containing Type
ITransition

Syntax

AnimancerState CreateState()

Remarks

The first time a transition is used on an object, this method is called to create the state and register it in the internal dictionary using the Animancer.IHasKey.Key so that it can be reused later on.

Return Value

Type Description
AnimancerState