Class SchedulerExecutableLibrary
Provides scheduler timer and frame counter helpers for Flow graphs.
[CeresGroup("Scheduler")]
public class SchedulerExecutableLibrary : ExecutableFunctionLibrary
- Inheritance
-
SchedulerExecutableLibrary
- Inherited Members
Constructors
SchedulerExecutableLibrary()
public SchedulerExecutableLibrary()
Methods
CollectExecutableFunctions()
Collect all static executable functions in this library
protected override void CollectExecutableFunctions()
Flow_SchedulerCancel(SchedulerHandle)
Cancels a scheduled task if the handle is valid.
[ExecutableFunction(IsScriptMethod = true)]
[CeresLabel("Cancel Scheduler")]
public static void Flow_SchedulerCancel(SchedulerHandle handle)
Parameters
handleSchedulerHandle
Flow_SchedulerDelay(float, EventDelegate, EventDelegate<float>, TickFrame, bool, bool)
Schedules a timer and invokes callbacks as it updates and completes.
[ExecutableFunction]
[CeresLabel("Schedule Timer By Event")]
public static SchedulerHandle Flow_SchedulerDelay(float delaySeconds, EventDelegate onComplete, EventDelegate<float> onUpdate, TickFrame tickFrame, bool isLooped, bool ignoreTimeScale)
Parameters
delaySecondsfloatonCompleteEventDelegateonUpdateEventDelegate<float>tickFrameTickFrameisLoopedboolignoreTimeScalebool
Returns
Flow_SchedulerWaitFrame(int, EventDelegate, EventDelegate<int>, TickFrame, bool)
Schedules a frame counter and invokes callbacks as it updates and completes.
[ExecutableFunction(SearchAliases = "Schedule FrameCounter By Event, FrameCounter")]
[CeresLabel("Schedule Frame Counter By Event")]
public static SchedulerHandle Flow_SchedulerWaitFrame(int frame, EventDelegate onComplete, EventDelegate<int> onUpdate, TickFrame tickFrame, bool isLooped)
Parameters
frameintonCompleteEventDelegateonUpdateEventDelegate<int>tickFrameTickFrameisLoopedbool