Version: 2023.2

Dispatcher

class in UnityEditor.Search

切换到手册

描述

The search dispatcher is used to synchronize events from the search provider threads and the main UI threads.

静态函数

CallDelayedRegister a callback to be executed later in the main thread.
EnqueueThis function can be used in a thread to enqueue an action that will be executed later in the main thread.
ProcessOneThis function can called in the main thread to force the execution of one enqueued action.