/// <summary> /// Enables refactor mode by removing a unique scripting symbol `ENTITAS_REDUX_NO_IMPL` from /// <see cref="PlayerSettings"/> if present. /// </summary> internal static void DisableRefactorMode() { if (EditorApplication.isCompiling) { return; } PlayerSettingsTools.RemoveScriptingSymbol(SCRIPTING_SYMBOL); Debug.Log(DISABLED_REFACTOR_MODE_MSG); }
/// <summary> /// Enables refactor mode by adding a unique scripting symbol `ENTITAS_REDUX_NO_IMPL` to /// <see cref="PlayerSettings"/> if not already present. /// </summary> public static void EnableRefactorMode() { if (EditorApplication.isCompiling) { return; } PlayerSettingsTools.AddScriptingSymbol(SCRIPTING_SYMBOL); Debug.Log(ENABLED_REFACTOR_MODE_MSG); }