Table of Contents

Class FlowEvents

Provides events for flows.

public class FlowEvents : AbstractAnimationEvents
Inheritance
FlowEvents
Inherited Members
Extension Methods

Methods

OnCompleted(Action)

Adds an event called when the animation has completed.

public FlowEvents OnCompleted(Action callback)

Parameters

callback Action

The event.

Returns

FlowEvents

OnCompleting(Action)

Adds an event called when the animation is completing.

public FlowEvents OnCompleting(Action callback)

Parameters

callback Action

The event.

Returns

FlowEvents

OnLoopCompleted(Action<int?>)

Adds an event called when the animation loop has completed.

public FlowEvents 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

FlowEvents

OnLoopStarted(Action<int?>)

Adds an event called when the animation loop has started.

public FlowEvents 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

FlowEvents

OnStarted(Action)

Adds an event called when the animation has started.

public FlowEvents OnStarted(Action callback)

Parameters

callback Action

The event.

Returns

FlowEvents

OnStarting(Action)

Adds an event called when the animation is starting.

public FlowEvents OnStarting(Action callback)

Parameters

callback Action

The event.

Returns

FlowEvents

OnUpdated(Action<float>)

Adds an event called when the animation has updated.

public FlowEvents OnUpdated(Action<float> callback)

Parameters

callback Action<float>

The event.

Returns

FlowEvents

OnUpdating(Action<float>)

Adds an event called when the animation is updating.

public FlowEvents OnUpdating(Action<float> callback)

Parameters

callback Action<float>

The event.

Returns

FlowEvents