When I run the game scene on unity my panels dissappears

人走茶凉 提交于 2019-11-28 11:48:05

问题


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


回答1:


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.



来源:https://stackoverflow.com/questions/40011722/when-i-run-the-game-scene-on-unity-my-panels-dissappears

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!