This version of Unity is unsupported.

Dispatcher.CallDelayed

Declaration

public static Action CallDelayed(EditorApplication.CallbackFunction callback, double seconds);

Parameters

callback Callback to be executed later in the main thread.
seconds Number of seconds to wait until the main thread executes the user callback.

Returns

Action Returns an off handler that can be used to unregister the callback before it gets executed in the main thread later.

Description

Register a callback to be executed later in the main thread.