Summary
An
Animancer.AnimancerTransitionAsset`1
wrapper which stores its own Animancer.AnimancerTransitionAssetBase.UnShared`1.BaseState
and Animancer.AnimancerTransitionAssetBase.UnShared`1.Events
to allow multiple objects to reference the same transition asset without
interfering with each other.
- Assembly
- Animancer
.dll - Namespace
- Animancer
- Interfaces
- Base Types
- Derived Types
-
- Float2
Controller Transition Asset .UnShared - Mixer
Transition2 D Asset .UnShared - Controller
Transition Asset .UnShared - Manual
Mixer Transition Asset .UnShared - ClipTransitionAsset
.UnShared - Float3
Controller Transition Asset .UnShared - Linear
Mixer Transition Asset .UnShared - Float1
Controller Transition Asset .UnShared - Playable
Asset Transition Asset .UnShared
- Float2
graph BT
Type-->Base0["AnimancerTransitionAssetBase.UnShared<TAsset>"]
Base0-->Base1["Object"]
Type-.->Interface0["ITransitionWithEvents"]
click Interface0 "/animancer-v7-4/api/Animancer/ITransitionWithEvents"
Type-.->Interface1["IHasEvents"]
click Interface1 "/animancer-v7-4/api/Animancer/IHasEvents"
Type-.->Interface2["IWrapper"]
click Interface2 "/animancer-v7-4/api/Animancer/IWrapper"
Type-.->Interface3["ITransition<TState>"]
Type-.->Interface4["ITransition"]
click Interface4 "/animancer-v7-4/api/Animancer/ITransition"
Type-.->Interface5["IHasKey"]
click Interface5 "/animancer-v7-4/api/Animancer/IHasKey"
Type-.->Interface6["IPolymorphic"]
click Interface6 "/animancer-v7-4/api/Animancer/IPolymorphic"
Type["AnimancerTransitionAssetBase.UnShared<TAsset, TTransition, TState>"]
class Type type-node
Derived0["Float2ControllerTransitionAsset.UnShared"]-->Type
click Derived0 "/animancer-v7-4/api/Animancer/UnShared"
Derived1["MixerTransition2DAsset.UnShared"]-->Type
click Derived1 "/animancer-v7-4/api/Animancer/UnShared"
Derived2["ControllerTransitionAsset.UnShared"]-->Type
click Derived2 "/animancer-v7-4/api/Animancer/UnShared"
Derived3["ManualMixerTransitionAsset.UnShared"]-->Type
click Derived3 "/animancer-v7-4/api/Animancer/UnShared"
Derived4["ClipTransitionAsset.UnShared"]-->Type
click Derived4 "/animancer-v7-4/api/Animancer/UnShared"
Derived5["Float3ControllerTransitionAsset.UnShared"]-->Type
click Derived5 "/animancer-v7-4/api/Animancer/UnShared"
Derived6["LinearMixerTransitionAsset.UnShared"]-->Type
click Derived6 "/animancer-v7-4/api/Animancer/UnShared"
Derived7["Float1ControllerTransitionAsset.UnShared"]-->Type
click Derived7 "/animancer-v7-4/api/Animancer/UnShared"
Derived8["PlayableAssetTransitionAsset.UnShared"]-->Type
click Derived8 "/animancer-v7-4/api/Animancer/UnShared"
Syntax
[Serializable]
public class AnimancerTransitionAssetBase.UnShared<TAsset, TTransition, TState> :
AnimancerTransitionAssetBase.UnShared<TAsset>, ITransitionWithEvents, IHasEvents, IWrapper,
ITransition<TState>, ITransition, IHasKey, IPolymorphic
where TAsset : AnimancerTransitionAsset<TTransition> where TTransition : ITransition<TState>, IHasEvents where TState : AnimancerState
Remarks
Documentation:
Transition Assets - UnShared
Attributes
Type | Description |
---|---|
Serializable |
Type Parameters
Name | Description |
---|---|
TAsset | |
TTransition | |
TState |
Properties
Name | Value | Summary |
---|---|---|
SerializedEvents | AnimancerEvent |
Events which will be triggered as the animation plays.
|
State | TState |
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) ).
|
Transition | TTransition |
The
Animancer.ITransition wrapped by this object. |
Methods
Name | Value | Summary |
---|---|---|
CreateState |
TState |
Creates and returns a new TState.
|
OnSetBaseState |
void |
Called when the
Animancer.AnimancerTransitionAssetBase.UnShared`1.BaseState is set. |