问题
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