A class which manages callbacks running on Unity's main thread. Use Callback.MainThread to run some code on the main thread.
|
static void | Start () |
| Sets up the callback system. Always called on Unity's main thread. More...
|
|
static void | RunAll () |
| Runs all callbacks in the queue. More...
|
|
static void | Add (Callback callback) |
| Don't call this directly. Use callback.Go() instead. Adds the callback to the main queue. More...
|
|
static void PowerUI.Callbacks.Add |
( |
Callback |
callback) | |
|
|
inlinestaticpackage |
Don't call this directly. Use callback.Go() instead. Adds the callback to the main queue.
static void PowerUI.Callbacks.RunAll |
( |
) | |
|
|
inlinestaticpackage |
Runs all callbacks in the queue.
static void PowerUI.Callbacks.Start |
( |
) | |
|
|
inlinestaticpackage |
Sets up the callback system. Always called on Unity's main thread.
The main callback queue. Stored as a linked list - this is the head of the queue.
The main callback queue. Stored as a linked list - this is the tail of the queue.
Thread PowerUI.Callbacks.MainThread |
|
staticpackage |