static void DidReloadScripts() { UnitySetup.SetupDefaultSingletonsIfNeeded(); // Logd(" !! UnityEditor.Callbacks.DidReloadScripts"); try { new SoundPlayer("C:/CompileSuccess.wav").Play(); } catch (Exception e) { Logd("Add a C:/CompileSuccess.wav to get better compile feedback, " + e); } }
private static void ResetStaticInstances() { DisposeAllInjectors(); EventBus.instance = new EventBus(); IoC.inject = new injection.Injector(); UnitySetup.SetupDefaultSingletonsIfNeeded(); }
static void DidReloadScripts() { UnitySetup.SetupDefaultSingletonsIfNeeded(); Logd(" !! UnityEditor.Callbacks.DidReloadScripts"); try { new SoundPlayer("C:/CompileSuccess.wav").Play(); } catch (Exception e) { Debug.LogWarning(e); } }