We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7af1755 commit 1ce496fCopy full SHA for 1ce496f
SetSplashScreenBlack.cs SplashScreenModifier.csSetSplashScreenBlack.cs renamed to SplashScreenModifier.cs
@@ -12,13 +12,14 @@
12
// **************************************************************** //
13
14
#if UNITY_EDITOR
15
+using UnityEngine;
16
using UnityEditor;
17
using UnityEditor.Build;
18
using UnityEditor.Build.Reporting;
19
-public class SplashScreenModifier : IPreprocessBuildWithReport
20
+public sealed class SplashScreenModifier : IPreprocessBuildWithReport
21
{
- public int callbackOrder { get { return 0; } }
22
+ public int callbackOrder => 0;
23
24
public void OnPreprocessBuild(BuildReport report)
25
@@ -35,4 +36,4 @@ private static void SetSplashScreenBackground()
35
36
PlayerSettings.SplashScreen.backgroundColor = Color.black;
37
}
38
-#endif
39
+#endif
SetSplashScreenBlack.cs.meta SplashScreenModifier.cs.metaSetSplashScreenBlack.cs.meta renamed to SplashScreenModifier.cs.meta
0 commit comments