Class CallbackFlowAwaiter
- Namespace
- FriedSynapse.FlowEnt
Flow awaiter that uses a callback to check if it needs to wait or not.
public class CallbackFlowAwaiter : AbstractFlowAwaiter
- Inheritance
-
CallbackFlowAwaiter
- Inherited Members
- Extension Methods
Constructors
CallbackFlowAwaiter(Func<bool>)
public CallbackFlowAwaiter(Func<bool> waitCondition)
Parameters
Methods
ShouldWait(float)
Decides weather the flow should wait for this awaiter or not.
protected override bool ShouldWait(float deltaTime)
Parameters
deltaTime
floatCurrent frame delta time.
Returns
- bool
If True the flow will wait. Otherwise the flow will continue