Class TaskDirectorSystem
Inheritance
System.Object
TaskDirectorSystem
Namespace: GDX.Threading
Syntax
public static class TaskDirectorSystem
Fields
| Improve this Doc View Sourceticked
Triggered after the TaskDirectorSystem has ticked, with the delta time.
Declaration
public static Action<float> ticked
Field Value
| Type | Description |
|---|---|
| System.Action<System.Single> |
Methods
| Improve this Doc View SourceAddToPlayerLoop()
Declaration
public static void AddToPlayerLoop()
GetTickRate()
Get the current tick rate used by the TaskDirectorSystem.
Declaration
public static float GetTickRate()
Returns
| Type | Description |
|---|---|
| System.Single | A double value representing the elapsed time necessary to trigger an update to the TaskDirectorSystem. |
RemoveFromPlayerLoop()
Declaration
public static void RemoveFromPlayerLoop()
SetTickRate(Single)
Update the rate at which the TaskDirectorSystem updates the TaskDirector.
Declaration
public static void SetTickRate(float tickRate)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Single | tickRate | The new tick rate. |
Remarks
This will not survive domain reload, please see TaskDirectorSystemTickRate.