Class TaskFlowAwaiter
- Namespace
- FriedSynapse.FlowEnt
Flow awaiter that waits for a task to finish(regardless if it was successful or not).
public class TaskFlowAwaiter : AbstractFlowAwaiter
- Inheritance
-
TaskFlowAwaiter
- Inherited Members
- Extension Methods
Constructors
TaskFlowAwaiter(Task)
public TaskFlowAwaiter(Task task)
Parameters
task
Task
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