Question by
$$anonymous$$ · Oct 11, 2017 at 04:21 PM ·
editor-scriptingthreadsthreading
Calling back to main thread from editor script
What is the best way to run a function on the main Unity thread from an additional thread. I've been using a script from @pdwitte ( https://github.com/PimDeWitte/UnityMainThreadDispatcher ) which works nice at run time but in an editor script, the dispatcher is not running so none of my functions get called.
Comment