【m】资源拷贝修改

This commit is contained in:
zhangzheng
2026-03-25 14:05:21 +08:00
parent 561672ad69
commit 2b9f4e78b6
8 changed files with 23 additions and 18 deletions

View File

@@ -55,7 +55,6 @@ namespace Stary.Evo.Editor
// 添加新模式
defines.Add(mode.ToString());
PlayerSettings.SetScriptingDefineSymbolsForGroup(currentTarget, string.Join(";", defines));
Debug.Log($"当前编译符号: {string.Join(";", defines)}"); // 添加调试日志
_pLayerMode = mode;
CustomEditorPrefs.SetString("ChangePlayerSchema", _pLayerMode.ToString());
ValidateModeMenu();
@@ -65,7 +64,7 @@ namespace Stary.Evo.Editor
{
//EditorApplication.ExecuteMenuItem("Assets/Open C# Project");
UnityEditor.Compilation.CompilationPipeline.RequestScriptCompilation();
Debug.Log("已强制重新生成解决方案文件");
Debug.Log($"当前编译符号: {string.Join(";", defines)}"); // 添加调试日志
};
}
}