MixerTransition2D Class

Summary

A serializable Animancer.ITransition which can create a particular type of Animancer.AnimancerState when passed into Animancer.AnimancerPlayable.Play(Animancer.ITransition).
graph BT Type-->Base0["MixerTransition<MixerState<Vector2>, Vector2>"] Base0-->Base1["ManualMixerTransition<MixerState<Vector2>>"] Base1-->Base2["AnimancerTransition<MixerState<Vector2>>"] Base2-->Base3["Object"] Type-.->Interface0["ITransitionDetailed"] click Interface0 "/animancer-v7-4/api/Animancer/ITransitionDetailed" Type-.->Interface1["ITransitionWithEvents"] click Interface1 "/animancer-v7-4/api/Animancer/ITransitionWithEvents" Type-.->Interface2["IHasEvents"] click Interface2 "/animancer-v7-4/api/Animancer/IHasEvents" Type-.->Interface3["ICopyable<AnimancerTransition<MixerState<Vector2>>>"] Type-.->Interface4["IMotion"] click Interface4 "/animancer-v7-4/api/Animancer/IMotion" Type-.->Interface5["IAnimationClipCollection"] click Interface5 "/animancer-v7-4/api/Animancer/IAnimationClipCollection" Type-.->Interface6["ICopyable<ManualMixerTransition<MixerState<Vector2>>>"] Type-.->Interface7["ICopyable<MixerTransition<MixerState<Vector2>, Vector2>>"] Type-.->Interface8["ManualMixerState.ITransition2D"] click Interface8 "/animancer-v7-4/api/Animancer/ITransition2D" Type-.->Interface9["ITransition<MixerState<Vector2>>"] Type-.->Interface10["ITransition"] click Interface10 "/animancer-v7-4/api/Animancer/ITransition" Type-.->Interface11["IHasKey"] click Interface11 "/animancer-v7-4/api/Animancer/IHasKey" Type-.->Interface12["IPolymorphic"] click Interface12 "/animancer-v7-4/api/Animancer/IPolymorphic" Type-.->Interface13["ICopyable<MixerTransition2D>"] Type["MixerTransition2D"] class Type type-node

Syntax

[Serializable]
public class MixerTransition2D : MixerTransition<MixerState<Vector2>, Vector2>, 
    ITransitionDetailed, ITransitionWithEvents, IHasEvents, 
    ICopyable<AnimancerTransition<MixerState<Vector2>>>, IMotion, IAnimationClipCollection, 
    ICopyable<ManualMixerTransition<MixerState<Vector2>>>, 
    ICopyable<MixerTransition<MixerState<Vector2>, Vector2>>, ManualMixerState.ITransition2D, 
    ITransition<MixerState<Vector2>>, ITransition, IHasKey, IPolymorphic, 
    ICopyable<MixerTransition2D>

Remarks

Documentation: Transitions

Attributes

Type Description
SerializableAttribute

Properties

Name Value Summary
Type MixerTransition2D.MixerType
[UnityEngine.SerializeField] The type of Animancer.ManualMixerState that this transition will create.

Methods

Name Value Summary
CopyFrom(MixerTransition2D) void
Copies the contents of `copyFrom` into this object, replacing its previous contents.
CreateState() MixerState<Vector2>
Creates and returns a new Animancer.CartesianMixerState or Animancer.DirectionalMixerState depending on the Animancer.MixerTransition2D.Type.