Skip to content

Commit

Permalink
Disable the Unity splash screen during builds
Browse files Browse the repository at this point in the history
  • Loading branch information
Kroporo committed Mar 7, 2023
1 parent dcfbb13 commit 6002b86
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions UnityProject/Assets/Editor/ReceiverBuildScript.cs
Original file line number Diff line number Diff line change
Expand Up @@ -147,12 +147,12 @@ public class BuildConfiguration {
}

static void BuildWithConfiguration(BuildConfiguration configuration) {
BuildPlayerOptions options = new BuildPlayerOptions();

options.scenes = base_scenes;

UpdateBuildInfo();

PlayerSettings.SplashScreen.showUnityLogo = false;

BuildPlayerOptions options = new BuildPlayerOptions();
options.scenes = base_scenes;
options.locationPathName = configuration.target_path;
options.target = configuration.build_target;
options.options = configuration.build_options;
Expand Down

0 comments on commit 6002b86

Please sign in to comment.