Class TransitionOnAnimationCompleteAttribute
Transition attribute to transition to a new state upon completion of a current animation.
Inheritance
TransitionOnAnimationCompleteAttribute
Implements
Inherited Members
Namespace: nickmaltbie.StateMachineUnity.Attributes
Assembly: cs.temp.dll.dll
Syntax
[AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = false)]
public class TransitionOnAnimationCompleteAttribute : AnimationTransitionAttribute, ITransition<Type>
Constructors
TransitionOnAnimationCompleteAttribute(Type, Single, Boolean)
Transition to another state upon completion of the animation for the current state.
Declaration
public TransitionOnAnimationCompleteAttribute(Type targetState, float transitionTime = 0F, bool fixedTimeTransition = false)
Parameters
Type | Name | Description |
---|---|---|
Type | targetState | New state to transition to upon trigger. |
Single | transitionTime | Fixed time to transition to new state. |
Boolean | fixedTimeTransition | Is this transition in fixed time (true) or normalized time (false). |