Task<T>
Class in Arbor.TaskSystem / Inherits from: Task
Description
Task class corresponding to the pool
Type Parameters
| Type Parameter Name | Description | Type Constraints |
|---|---|---|
| T | Type to implement |
|
Constructors
| Description | |
|---|---|
| Task | constructor |
Methods
| Method Name | Description |
|---|---|
| Dispose | Dispose of it. |
| Init | Method called when initializing |
Static Methods
| Method Name | Description |
|---|---|
| GetPooled | Get a task instance from the pool |
Inherited Members
Fields
| Field Name | Description |
|---|---|
| pooled | Whether it is pooled |
Properties
| Property Name | Description |
|---|---|
| progress | Progress from 0f to 1f |
| 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. |
| OnComplete | Method called when the task is completed |
| OnEnter | Method called when execution starts |
| 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 |
| OnUpdate | Method called when updated |
| Pause | Pause the task. |
| Resume | Resume the task from pause. |
| Update | Update the task. |