ドキュメント

Unity Engine

Download Unity

Unity Engine

Enqueue

This function can be used in a thread to enqueue an action that will be executed later in the main thread.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

Enqueue(Action)

This function can be used in a thread to enqueue an action that will be executed later in the main thread.
public static void Enqueue(Action action)

Parameters

action

Action to be executed in the main thread later.

Enqueue(Action, double)

This function can be used in a thread to enqueue an action that will be executed later in the main thread.
public static void Enqueue(Action action, double delayInSeconds)

Parameters

action

Action to be executed in the main thread later.

delayInSeconds

Minimum amount of time in seconds for which the main thread will wait before executing the enqueued action.