CallDelayed(CallbackFunction, double)
Register a callback to be executed later in the main thread.
Read time 1 minuteLast updated 11 days ago
Definition
- Type: Method
- Namespace: UnityEditor.Search
- Assembly: UnityEditor
public static Action CallDelayed(EditorApplication.CallbackFunction callback, double seconds = 0)
Parameters
Callback to be executed later in the main thread.
Number of seconds to wait until the main thread executes the user callback.
Returns
Type | Description |
|---|---|
| Action | Returns an off handler that can be used to unregister the callback before it gets executed in the main thread later. |