Skip to content

Commit

Permalink
Try to speed up compilation by passing "BuildScriptsOnly" flag.
Browse files Browse the repository at this point in the history
  • Loading branch information
kring committed Aug 1, 2023
1 parent 8dee296 commit f05e403
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Editor/BuildCesiumForUnity.cs
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,8 @@ private static void BuildPlayer(BuildTargetGroup targetGroup, BuildTarget target
locationPathName = Path.Combine(outputPath, "game"),
targetGroup = targetGroup,
target = target,
scenes = new[] { "Assets/Scenes/Empty.unity" }
scenes = new[] { "Assets/Scenes/Empty.unity" },
options = BuildOptions.BuildScriptsOnly
});

if (report.summary.totalErrors > 0)
Expand Down

0 comments on commit f05e403

Please sign in to comment.