Method QueueForMainThread
QueueForMainThread(Action)
Queues an action to be executed at the beginning of the next update. This is preferred to the QueueEndOfFrameItem, which will be deprecated in the future.
Declaration
public void QueueForMainThread(Action action)
Parameters
Type | Name | Description |
---|---|---|
Action | action | Action that needs to be invoked. |