Class AnimationWait
Defines abn animation that does nothing but wait a set amount of time.
Inherited Members
Namespace: Ritchie.Toolbox.Animation
Assembly: Ritchie.Toolbox.dll
Syntax
public sealed class AnimationWait : Animation, IAnimation, IAnimationHandle
Constructors
AnimationWait(float)
Defines abn animation that does nothing but wait a set amount of time.
Declaration
public AnimationWait(float duration)
Parameters
Type | Name | Description |
---|---|---|
float | duration | The amount of time, in seconds, to wait. |
Methods
OnUpdate(float)
Method that's called each time the animation is updated.
Declaration
protected override void OnUpdate(float transitionPercentage)
Parameters
Type | Name | Description |
---|---|---|
float | transitionPercentage | A value between 0.0 and 1.0 representing the animation's progress. |