文档

Unity Engine

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