UnityMainThreadDispatcher icon indicating copy to clipboard operation
UnityMainThreadDispatcher copied to clipboard

How to use this in editor

Open gemlongman opened this issue 1 year ago • 1 comments

I want use this in my custom plugin. However it need a prefab awaked in scene. Is there a way to dispatch in editor.

gemlongman avatar Aug 06 '24 08:08 gemlongman

I have found answer https://docs.unity3d.com/ScriptReference/ExecuteInEditMode.html use [ExecuteInEditMode] and OnRenderObject

gemlongman avatar Aug 09 '24 06:08 gemlongman