static EditorStateTracking() { PluginCore.Reset(); #if UNITY_2018_1_OR_NEWER EditorApplication.quitting += Quitting; #endif }
static void Quitting() { // Debug.Log("Editor quitting"); PluginCore.Reset(); }