Method ScheduleOrExecuteOnMain
ScheduleOrExecuteOnMain(Action)
Executes immediately if on main thread else queue on main thread for next update.
Declaration
public void ScheduleOrExecuteOnMain(Action action)
Parameters
| Type | Name | Description |
|---|---|---|
| Action | action | The task that should be executed on the main thread. |