Skip to content

Commit 3683aa1

Browse files
authored
Fixed Callback order for assembly
1 parent 8bcfa14 commit 3683aa1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

SetSplashScreenBlack.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@
1919

2020
public sealed class SetSplashScreenBlack : IPreprocessBuildWithReport
2121
{
22-
public int callbackOrder { get; }
22+
public int callbackOrder { get { return 0; } }
2323

2424
public void OnPreprocessBuild(BuildReport report)
2525
{
2626
PlayerSettings.SplashScreen.unityLogoStyle = PlayerSettings.SplashScreen.UnityLogoStyle.LightOnDark;
2727
PlayerSettings.SplashScreen.backgroundColor = Color.black;
2828
}
2929
}
30-
#endif
30+
#endif

0 commit comments

Comments
 (0)