当我统一运行游戏场景时,我的面板消失了 [英] When I run the game scene on unity my panels dissappears

查看:25
本文介绍了当我统一运行游戏场景时,我的面板消失了的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这是错误视频

youtu.be/r6m_RVFw7tA

没有代码,只有面板和按钮.

如果您需要其他任何内容,请发表评论..

Unity 文件:

Here is the error video

youtu.be/r6m_RVFw7tA

There is no code only panels and buttons.

If you need anything else then please comment..

Unity file : https://www.dropbox.com/s/fvxxjod1bs52u92/first.unity?dl=0

解决方案

The far clipping plane of the camera is not far enough to cover the UI position. Set it to 3000. If that doesn't work, bump it up more. far clipping plane of, 3000 seems to work fine in your case.

For perfect alignment of your camera, you need to reset its y-axis rotation to 0 then also change the x-axis position to be the position(498) of your canvas UI which is named UI Container. After this, you can then manually modify your UI component rotation/position to whatever you want.

这篇关于当我统一运行游戏场景时,我的面板消失了的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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