UnityMainThreadDispatcher
UnityMainThreadDispatcher copied to clipboard
How to use this in editor
I want use this in my custom plugin. However it need a prefab awaked in scene. Is there a way to dispatch in editor.
I have found answer https://docs.unity3d.com/ScriptReference/ExecuteInEditMode.html use [ExecuteInEditMode] and OnRenderObject