private static void ScriptsWereReloaded() { ActEditorGlobalStuff.RemoveObsoleteFiles(); ActEditorGlobalStuff.RemoveObsoletePrefs(); if (EditorPrefs.GetBool(ActEditorGlobalStuff.PREFS_INJECTION_GLOBAL)) { InjectionAssembliesScan(); } }
private static void ScriptsWereReloaded() { ActEditorGlobalStuff.RemoveObsoleteFiles(); ActEditorGlobalStuff.RemoveObsoletePrefs(); EditorUserBuildSettings.activeBuildTargetChanged += OnBuildTargetChanged; if (EditorPrefs.GetBool(ActEditorGlobalStuff.PREFS_INJECTION_GLOBAL)) { InjectionAssembliesScan(); } }