This commit is contained in:
zhangzheng
2026-03-18 16:31:57 +08:00
parent 0616cf85d8
commit caf86d2e2d
2 changed files with 2 additions and 10 deletions

View File

@@ -38,9 +38,7 @@ namespace Stary.Evo.Editor
[Title("打包配置", titleAlignment: TitleAlignments.Centered)] [ToggleLeft] [LabelText("是否添加水印")]
public bool isWatermark = false;
[ToggleLeft] [LabelText("开发构建")] public bool developmentBuild = false;
[ToggleLeft] [LabelText("构建完成后打开文件夹")] public bool openFolderOnComplete = true;
[BoxGroup("缓存管理", centerLabel: true)]
@@ -299,12 +297,6 @@ namespace Stary.Evo.Editor
}
BuildOptions buildOptions = BuildOptions.None;
if (developmentBuild)
{
buildOptions |= BuildOptions.Development;
buildOptions |= BuildOptions.AllowDebugging;
buildOptions |= BuildOptions.ConnectWithProfiler;
}
return new BuildPlayerOptions
{