更改启动屏幕/启动屏幕颜色和图像 [英] Change Launch Screen/Splash Screen color and image

查看:23
本文介绍了更改启动屏幕/启动屏幕颜色和图像的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

应用程序本身运行良好.我的问题是,在应用程序本身启动时,屏幕在变为我的第一个场景的黑色之前是 Unity 默认蓝色一秒钟左右.

The app itself works completely fine. My question is that on the launching of the app itself, the screen is the Unity default blue for a quick second or so before changing to the black of my first scene.

如何在启动时将此颜色更改为黑色?

How do I change this color to be black on startup?

推荐答案

您可以通过转到文件 --> 构建设置 --> 来更改此设置播放器设置 --> 启动画面 --> 背景 --> 背景颜色.

You can change this by going to File --> Build Settings --> Player Settings --> Splash Image --> Background --> Background Color.

从那里您可以更改背景颜色.您还可以从那里更改图像、动画类型和叠加不透明度.

From there you can change the background color. You can also change the image, animation type and overlay opacity from there.

请注意,除非您拥有 Pro 许可证,否则您可能无法更改某些内容.

Note that there are things you may not be able to change there unless you have Pro license.

编辑:

更新以更详细地说明更改内容的位置

首先更改启动画面:

iOS 平台有更多选项,但仍然可以在我上面提到的菜单中找到这些设置.

There are more options for iOS platform but this settings can still be found in the menu I mentioned above.

如果是 iOS,请选择 iOS 作为您的平台,您可以从那里更改背景颜色:

If iOS, select iOS as your platform and you can change your Background Color from there:

然后您应该从那里更改午餐屏幕类型.如果您希望它消失,请将其设置为.

You should then change the Lunch Screen type from there. Set it to None if you want it to be gone.

如果颜色仍然没有改变,您可以使用您选择的颜色创建纹理并将其添加到移动启动画面插槽:

If the color does not still change, you can create a Texture with a color of your choice and add it to the Mobile Splash Screen slot:

这篇关于更改启动屏幕/启动屏幕颜色和图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆