Skip to content

Commit e8d9947

Browse files
committed
[删除] 删除启动图的配置
1 parent 9bed314 commit e8d9947

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

Editor/BuildProduct/BuildProductHelper.cs

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public static void BuildPlayerToActiveBuildTarget()
4242
[MenuItem("GameFrameX/Build/Windows X64", false, 100)]
4343
public static void BuildPlayerToWindows64BuildTarget()
4444
{
45-
PlayerSettings.SplashScreen.show = false;
45+
// PlayerSettings.SplashScreen.show = false;
4646
Debug.Log(EditorUserBuildSettings.activeBuildTarget);
4747
if (EditorUserBuildSettings.activeBuildTarget != BuildTarget.StandaloneWindows64)
4848
{
@@ -91,7 +91,7 @@ public static void BuildPlayerToWindows64BuildTarget()
9191
[MenuItem("GameFrameX/Build/Windows X32", false, 100)]
9292
public static void BuildPlayerToWindows32BuildTarget()
9393
{
94-
PlayerSettings.SplashScreen.show = false;
94+
// PlayerSettings.SplashScreen.show = false;
9595
Debug.Log(EditorUserBuildSettings.activeBuildTarget);
9696
if (EditorUserBuildSettings.activeBuildTarget != BuildTarget.StandaloneWindows)
9797
{
@@ -151,7 +151,7 @@ public static void BuildPlayerToMacBuildTarget()
151151
try
152152
{
153153
HotFixEditorCompilerHelper.AddEditor();
154-
PlayerSettings.SplashScreen.show = false;
154+
// PlayerSettings.SplashScreen.show = false;
155155
PlayerSettings.fullScreenMode = FullScreenMode.Windowed;
156156
PlayerSettings.defaultScreenHeight = 720;
157157
PlayerSettings.defaultScreenWidth = 1280;
@@ -221,7 +221,7 @@ public static string BuildPlayerWebGL()
221221
[MenuItem("GameFrameX/Build/WebGL", false, 300)]
222222
private static void BuildPlayerToWebGL()
223223
{
224-
PlayerSettings.SplashScreen.show = false;
224+
// PlayerSettings.SplashScreen.show = false;
225225

226226
if (EditorUserBuildSettings.activeBuildTarget != BuildTarget.WebGL)
227227
{
@@ -249,7 +249,7 @@ private static void BuildPlayerToWebGL()
249249
[MenuItem("GameFrameX/Build/WeChat MiniGame WebGL", false, 300)]
250250
private static void BuildPlayerToWeChatMiniGameWebGL()
251251
{
252-
PlayerSettings.SplashScreen.show = false;
252+
// PlayerSettings.SplashScreen.show = false;
253253

254254
if (EditorUserBuildSettings.activeBuildTarget != BuildTarget.WebGL)
255255
{
@@ -301,7 +301,7 @@ public static string BuildPlayerXcode()
301301
[MenuItem("GameFrameX/Build/Apk", false, 400)]
302302
private static void BuildPlayerToAndroid()
303303
{
304-
PlayerSettings.SplashScreen.show = false;
304+
// PlayerSettings.SplashScreen.show = false;
305305
if (EditorUserBuildSettings.activeBuildTarget != BuildTarget.Android)
306306
{
307307
Debug.LogError("当前构建目标不是 Android");
@@ -332,7 +332,7 @@ private static void BuildPlayerToAndroid()
332332
[MenuItem("GameFrameX/Build/AAB", false, 400)]
333333
private static void BuildAppBundleForAndroid()
334334
{
335-
PlayerSettings.SplashScreen.show = false;
335+
// PlayerSettings.SplashScreen.show = false;
336336

337337
string aabSavePath = Application.dataPath.Replace("Assets", "AAB");
338338
if (!Directory.Exists(aabSavePath))
@@ -465,7 +465,7 @@ private static void ExportToAndroidStudioToDevelop()
465465
try
466466
{
467467
HotFixEditorCompilerHelper.AddEditor();
468-
PlayerSettings.SplashScreen.show = false;
468+
// PlayerSettings.SplashScreen.show = false;
469469
UpdateBuildTime();
470470
_buildPath = BuildOutputPath();
471471

@@ -495,7 +495,7 @@ private static void ExportToAndroidStudioToRelease()
495495
try
496496
{
497497
HotFixEditorCompilerHelper.AddEditor();
498-
PlayerSettings.SplashScreen.show = false;
498+
// PlayerSettings.SplashScreen.show = false;
499499
UpdateBuildTime();
500500
_buildPath = BuildOutputPath();
501501

@@ -525,7 +525,7 @@ private static void ExportToXcodeToDevelop()
525525
try
526526
{
527527
HotFixEditorCompilerHelper.AddEditor();
528-
PlayerSettings.SplashScreen.show = false;
528+
// PlayerSettings.SplashScreen.show = false;
529529
UpdateBuildTime();
530530
_buildPath = BuildOutputPath();
531531

@@ -551,7 +551,7 @@ private static void ExportToXcodeToRelease()
551551
try
552552
{
553553
HotFixEditorCompilerHelper.AddEditor();
554-
PlayerSettings.SplashScreen.show = false;
554+
// PlayerSettings.SplashScreen.show = false;
555555
UpdateBuildTime();
556556
_buildPath = BuildOutputPath();
557557

0 commit comments

Comments
 (0)