TransitionAsset<TTransition>.

Transition Property

Summary

[UnityEngine.SerializeReference] The Animancer.ITransition wrapped by this UnityEngine.ScriptableObject.
Assembly
Animancer.dll
Namespace
Animancer
Containing Type
TransitionAsset<TTransition>

Syntax

public TTransition Transition { get; set; }

Remarks

WARNING: the Animancer.Transition`1.State holds the most recently played state, so if you're sharing this transition between multiple objects it will only remember one of them.

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

Value

Type Description
TTransition