class MAGES::Editor::EditorDispatcher

Overview

Allows to dispatch actions to the main thread. More…

class EditorDispatcher
{
public:
    // methods

    static void QueueExecute(System.Action action);
};

Detailed Documentation

Allows to dispatch actions to the main thread.

Methods

static void QueueExecute(System.Action action)

Enqueues the specified action, for execution on the main editor thread. If this is called from the main thread, the action will be executed immediately.

Parameters:

action

The action.