AnimancerTransitionAssetBase.UnShared<TAsset, TTransition, TState>.

AnimancerTransitionAssetBase.

State Property

Summary

The state that was created by this object. Specifically, this is the state that was most recently passed into Animancer.AnimancerTransitionAssetBase.Apply(Animancer.AnimancerState) (usually by Animancer.AnimancerPlayable.Play(Animancer.ITransition)).

Syntax

public TState State { get; protected set; }

Remarks

You can use Animancer.AnimancerPlayable.StateDictionary.GetOrCreate(Animancer.ITransition) or Animancer.AnimancerLayer.GetOrCreateState(Animancer.ITransition) to get or create the state for a specific object.

This property is shorthand for casting the BaseState to TState.

Value

Type Description
TState