TaskScheduler

Class in Arbor.TaskSystem / Inherits from: Task<TaskScheduler>

Description

Scheduler to execute tasks sequentially

Properties

Property Name Description
progress Progress from 0f to 1f

Methods

Method Name Description
Add Add a task.
Init Method called when initializing
Interrupt Interrupt the task.
OnEnter Method called when execution starts
OnUpdate Method called when updated
Play Start playing
Stop Playback stops.
ToString Convert to a character string that represents the execution status of the task.

Inherited Members

Fields

Field Name Description
pooled Whether it is pooled

Properties

Property Name Description
scheduler Returns the registered Task Scheduler.
taskStatus Task status

Events

Event Name Description
onComplete Called when completed

Methods

Method Name Description
Complete Complete the task.
Dispose Dispose of it.
OnComplete Method called when the task is completed
OnExit Method called when exiting a task
OnInterruptPause Method called when paused by interrupt
OnInterruptResume Method called when resuming from pause due to interrupt
OnPause Method called when paused
OnResume Method called when resuming from pause
Pause Pause the task.
Resume Resume the task from pause.
Update Update the task.

Static Methods

Method Name Description
GetPooled Get a task instance from the pool