|
static void | Enqueue (Action action, bool delayCall=true) |
| Enqueue an action on the main Thread.
|
|
static new Coroutine | StartCoroutine (IEnumerator routine) |
|
static new void | StopCoroutine (Coroutine routine) |
|
◆ Awake()
override void CORE.Shared.Dispatcher.Awake |
( |
| ) |
|
|
protectedvirtual |
◆ 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 |
◆ StartCoroutine()
static new Coroutine CORE.Shared.Dispatcher.StartCoroutine |
( |
IEnumerator | routine | ) |
|
|
static |
◆ StopCoroutine()
static new void CORE.Shared.Dispatcher.StopCoroutine |
( |
Coroutine | routine | ) |
|
|
static |
◆ Update()
void CORE.Shared.Dispatcher.Update |
( |
| ) |
|
|
private |
◆ _executionQueue
readonly Queue<Action> CORE.Shared.Dispatcher._executionQueue = new Queue<Action>() |
|
staticprivate |
◆ MainThread
Thread CORE.Shared.Dispatcher.MainThread |
|
staticprivate |
The documentation for this class was generated from the following file:
- F:/UnityProjects/Unity6/COREGameDevelopersToolkit_BuildIn/Assets/COREToolkit/Scripts/Shared/Dispatcher.cs