Table of Contents

Class AbstractFlowAwaiter

Provides Flow awaiters basic functionality

public abstract class AbstractFlowAwaiter : AbstractUpdatable
Inheritance
AbstractFlowAwaiter
Derived
Inherited Members
Extension Methods

Methods

OnCompleted(Action)

Adds an event called when the awaiter has finished waiting.

public AbstractFlowAwaiter OnCompleted(Action callback)

Parameters

callback Action

The event.

Returns

AbstractFlowAwaiter

OnStarted(Action)

Adds an event called when the awaiter started waiting.

public AbstractFlowAwaiter OnStarted(Action callback)

Parameters

callback Action

The event.

Returns

AbstractFlowAwaiter

OnUpdated(Action<float>)

Adds an event called when the awaiter is waiting.

public AbstractFlowAwaiter OnUpdated(Action<float> callback)

Parameters

callback Action<float>

The event.

Returns

AbstractFlowAwaiter

ShouldWait(float)

Decides weather the flow should wait for this awaiter or not.

protected abstract bool ShouldWait(float deltaTime)

Parameters

deltaTime float

Current frame delta time.

Returns

bool

If True the flow will wait. Otherwise the flow will continue