少年修仙传客户端基础资源
dabaoji
2024-11-11 89721f0c58ec6d16ecdf0dbea7059854eac42fd9
Assets/Launch/SkipUnityLogo/Script/Editor/SplashScreenSetting.cs
@@ -7,8 +7,8 @@
public class SplashScreenSetting : MonoBehaviour
{
    const string BlackMenuPath = "EditorTools/SkipUnityLogo/设置启动画面为黑色背景 ";
    const string WhiteMenuPath = "EditorTools/SkipUnityLogo/设置启动画面为白色背景";
    const string BlackMenuPath = "EditorTools/SkipUnityLogo/SetBG_Black";
    const string WhiteMenuPath = "EditorTools/SkipUnityLogo/SetBG_White";
    [MenuItem(BlackMenuPath)]
    static void BlackSplashScreen()
    {
@@ -19,7 +19,7 @@
        PlayerSettings.SplashScreen.overlayOpacity = 1;
        PlayerSettings.SplashScreen.drawMode = PlayerSettings.SplashScreen.DrawMode.UnityLogoBelow;
        PlayerSettings.SplashScreen.blurBackgroundImage = false;
        print("黑色游戏启动画面已设置完成");
        print("black ok");
    }
    [MenuItem(WhiteMenuPath)]
@@ -32,7 +32,7 @@
        PlayerSettings.SplashScreen.overlayOpacity = 1;
        PlayerSettings.SplashScreen.drawMode = PlayerSettings.SplashScreen.DrawMode.UnityLogoBelow;
        PlayerSettings.SplashScreen.blurBackgroundImage = false;
        print("白色游戏启动画面已设置完成");
        print("white ok");
    }
}
#endif