diff --git a/Assets/Scripts/Editor/ProjectBuilder.cs b/Assets/Scripts/Editor/ProjectBuilder.cs index 8af3baa..bb57368 100644 --- a/Assets/Scripts/Editor/ProjectBuilder.cs +++ b/Assets/Scripts/Editor/ProjectBuilder.cs @@ -42,6 +42,9 @@ private static void DevelopBuildForCICD() private static void Build(BuildOptions buildOptions, BuildTarget buildTarget, bool isCICD = false) { BuildPlayerOptions buildPlayerOptions = new BuildPlayerOptions(); + + // ビルド対象のシーン + buildPlayerOptions.scenes = EditorBuildSettingsScene.GetActiveSceneList(EditorBuildSettings.scenes); // ビルド出力先 buildPlayerOptions.locationPathName = "Build"; // ビルドの種類