1. Problem
* The difference between drawings of ui builder and rendering results in the game view.
The above image is my ui builder image. I set the canvas size as 1920x1080 and gameview also set as 1920x1080
The above image is the game view image. It looks the buttons are bigger and the button with "button" label in the middle is not shown on the game view.
2. Solution
* go to the ui document.
and then open UI_Panel in the UI Document inspector
Check the scale mode. Constant Physical Size is set as default.
Change it to the constant pixel size.
this is the result.
3. Conclusion
The probelm was in the UI_Panel's scale mode. Check the scale mode and then enjoy.
'유니티 개발 관련' 카테고리의 다른 글
unity animation clip generation for the humaniod rig (0) | 2023.06.21 |
---|---|
Export FBX in Unity (0) | 2023.05.26 |
always on top 렌더링 되는 마테리얼 만들기 (0) | 2023.05.02 |
유니티에서 그래프 그리기 (0) | 2023.04.26 |
unity ui toolkit 으로 리스트 만들기 (1) | 2023.04.24 |