Class AbstractAnimationEvents
- Namespace
- FriedSynapse.FlowEnt
Provides common events for animations.
public abstract class AbstractAnimationEvents
- Inheritance
-
AbstractAnimationEvents
- Derived
- Inherited Members
- Extension Methods
Properties
OnCompletedEvent
The event called when the animation has completed.
public Action OnCompletedEvent { get; set; }
Property Value
OnCompletingEvent
The event called when the animation is completing.
public Action OnCompletingEvent { get; set; }
Property Value
OnLoopCompletedEvent
The event called when the animation loop has completed.
public Action<int?> OnLoopCompletedEvent { get; set; }
Property Value
OnLoopStartedEvent
The event called when the animation loop has started.
public Action<int?> OnLoopStartedEvent { get; set; }
Property Value
OnStartedEvent
The event called when the animation has started.
public Action OnStartedEvent { get; set; }
Property Value
OnStartingEvent
The event called when the animation is starting.
public Action OnStartingEvent { get; set; }
Property Value
OnUpdatedEvent
The event called when the animation has updated.
public Action<float> OnUpdatedEvent { get; set; }
Property Value
OnUpdatingEvent
The event called when the animation is updating.
public Action<float> OnUpdatingEvent { get; set; }
Property Value
Methods
OnCompleted(Action)
Adds an event called when the animation has completed.
public AbstractAnimationEvents OnCompleted(Action callback)
Parameters
callback
ActionThe event.
Returns
OnCompleting(Action)
Adds an event called when the animation is completing.
public AbstractAnimationEvents OnCompleting(Action callback)
Parameters
callback
ActionThe event.
Returns
OnLoopCompleted(Action<int?>)
Adds an event called when the animation loop has completed.
public AbstractAnimationEvents OnLoopCompleted(Action<int?> callback)
Parameters
callback
Action<int?>The event. The parameter represents the number of loops left. If there are infinite loops it'll send a null param.
Returns
OnLoopStarted(Action<int?>)
Adds an event called when the animation loop has started.
public AbstractAnimationEvents OnLoopStarted(Action<int?> callback)
Parameters
callback
Action<int?>The event. The parameter represents the number of loops left. If there are infinite loops it'll send a null param.
Returns
OnStarted(Action)
Adds an event called when the animation has started.
public AbstractAnimationEvents OnStarted(Action callback)
Parameters
callback
ActionThe event.
Returns
OnStarting(Action)
Adds an event called when the animation is starting.
public AbstractAnimationEvents OnStarting(Action callback)
Parameters
callback
ActionThe event.
Returns
OnUpdated(Action<float>)
Adds an event called when the animation has updated.
public AbstractAnimationEvents OnUpdated(Action<float> callback)
Parameters
Returns
OnUpdating(Action<float>)
Adds an event called when the animation is updating.
public AbstractAnimationEvents OnUpdating(Action<float> callback)