Float2ControllerTransition 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["ControllerTransition<Float2ControllerState>"] Base0-->Base1["AnimancerTransition<Float2ControllerState>"] Base1-->Base2["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<Float2ControllerState>>"] Type-.->Interface4["IAnimationClipCollection"] click Interface4 "/animancer-v7-4/api/Animancer/IAnimationClipCollection" Type-.->Interface5["ICopyable<ControllerTransition<Float2ControllerState>>"] Type-.->Interface6["Float2ControllerState.ITransition"] click Interface6 "/animancer-v7-4/api/Animancer/ITransition" Type-.->Interface7["ITransition<Float2ControllerState>"] Type-.->Interface8["ITransition"] click Interface8 "/animancer-v7-4/api/Animancer/ITransition" Type-.->Interface9["IHasKey"] click Interface9 "/animancer-v7-4/api/Animancer/IHasKey" Type-.->Interface10["IPolymorphic"] click Interface10 "/animancer-v7-4/api/Animancer/IPolymorphic" Type-.->Interface11["ICopyable<Float2ControllerTransition>"] Type["Float2ControllerTransition"] class Type type-node

Syntax

[Serializable]
public class Float2ControllerTransition : ControllerTransition<Float2ControllerState>, 
    ITransitionDetailed, ITransitionWithEvents, IHasEvents, 
    ICopyable<AnimancerTransition<Float2ControllerState>>, IAnimationClipCollection, 
    ICopyable<ControllerTransition<Float2ControllerState>>, Float2ControllerState.ITransition, 
    ITransition<Float2ControllerState>, ITransition, IHasKey, IPolymorphic, 
    ICopyable<Float2ControllerTransition>

Remarks

Documentation: Transitions

Attributes

Type Description
SerializableAttribute

Constructors

Name Summary
Float2ControllerTransition() Creates a new Animancer.Float2ControllerTransition.
Float2ControllerTransition(RuntimeAnimatorController, string, string) Creates a new Animancer.Float2ControllerTransition with the specified Animator Controller and parameters.

Properties

Name Value Summary
ParameterNameX string
[UnityEngine.SerializeField] The name that will be used to access ParameterX.
ParameterNameY string
[UnityEngine.SerializeField] The name that will be used to access ParameterY.

Methods

Name Value Summary
CopyFrom(Float2ControllerTransition) void
Copies the contents of `copyFrom` into this object, replacing its previous contents.
CreateState() Float2ControllerState
Creates and returns a new TState.

Operators

Name Value Summary
implicit operator RuntimeAnimatorController(ControllerTransition<Float2ControllerState>) RuntimeAnimatorController