API ReferenceSandbox
MainThreadclass
Utility functions that revolve around the main thread
object→MainThread
Methods2
Showing 2 methods
public static void Queue(System.Action method)
When running in another thread you can queue a method to run in the main thread. If you are on the main thread we will execute the method immediately and return.
| Parameter | Type | Description |
|---|---|---|
| method | Action | — |
Returns:
void—No results match this filter.