Summary
Creates and returns a new
Animancer.CartesianMixerState
or Animancer.DirectionalMixerState
depending on the Animancer.MixerTransition2D.Type
.
- Assembly
- Animancer
.dll - Namespace
- Animancer
- Containing Type
- MixerTransition2D
Syntax
public override MixerState<Vector2> CreateState()
Remarks
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)
.
This method also assigns it as the Animancer.AnimancerTransition`1.State
.
Return Value
Type | Description |
---|---|
MixerState |