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

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

问题描述

该应用程序本身可以正常运行.我的问题是,在应用程序本身启动时,屏幕会很快变为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天全站免登陆