◆ Awake()
void CORE.Shared.Dispatcher.Awake |
( |
| ) |
|
|
private |
◆ Enqueue()
static void CORE.Shared.Dispatcher.Enqueue |
( |
Action | action, |
|
|
bool | delayCall = true ) |
|
static |
Enqueue an action on the main Thread.
- Parameters
-
action | The action. |
delayCall | If we already are on the main thread, enqueue and delay the call anyways. |
◆ OnDestroy()
void CORE.Shared.Dispatcher.OnDestroy |
( |
| ) |
|
|
private |
◆ ProcessQueue()
void CORE.Shared.Dispatcher.ProcessQueue |
( |
| ) |
|
|
private |
◆ StartCoroutineGlobal()
static Coroutine CORE.Shared.Dispatcher.StartCoroutineGlobal |
( |
IEnumerator | routine | ) |
|
|
static |
◆ StopCoroutineGlobal()
static void CORE.Shared.Dispatcher.StopCoroutineGlobal |
( |
Coroutine | routine | ) |
|
|
static |
◆ Update()
void CORE.Shared.Dispatcher.Update |
( |
| ) |
|
|
private |
◆ _executionQueue
readonly Queue<Action> CORE.Shared.Dispatcher._executionQueue = new Queue<Action>() |
|
staticprivate |
◆ Instance
◆ MainThread
Thread CORE.Shared.Dispatcher.MainThread |
|
staticprivate |
The documentation for this class was generated from the following file:
- D:/UnityProjects/Unity6/COREGameDevelopersToolkit_BuildIn/Assets/COREToolkit/Scripts/Shared/Dispatcher.cs