When I run the game scene on unity my panels dissa

2019-01-29 13:16发布

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条回答
爱情/是我丢掉的垃圾
2楼-- · 2019-01-29 13:33

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.

enter image description here

查看更多
登录 后发表回答