Summary
[
UnityEngine.SerializeReference
]
The Animancer.ITransition
wrapped by this UnityEngine.ScriptableObject
.
- Assembly
- Animancer
.dll - Namespace
- Animancer
- Containing Type
- Animancer
Transition Asset <TTransition>
Syntax
public TTransition Transition { get; set; }
Remarks
WARNING: the
Animancer.AnimancerTransition`1.State
holds the most recently played state, so
if you are sharing this transition between multiple objects it will only remember one of them.
Consider using an Animancer.AnimancerTransitionAssetBase.UnShared`1
.
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.
Value
Type | Description |
---|---|
TTransition |