- Home /
Question by
scribblenaughts · Jun 04, 2019 at 10:16 PM ·
cameracanvasresolution
Canvas and resolution scaling of buttons
Hi! I’m doing a project for school with a basic layout of buttons and different scenes. However.
The unity game view shows the buttons and the backgrounds in the correct place, but when I build and run the game, all the buttons are messed up and in the wrong place.
I’m also wondering what will happen if the teacher’s screen size is different and how the buttons won’t scale accordingly with the black bars, and will end up hanging off screen.
What settings can I change in my Canvas and/or camera to make this not an issue?
Comment
Answer by aardappel156 · Jun 05, 2019 at 07:13 PM
What you can do is change the render mode to screen space camera and put the camera in the camera variable.
Your answer
![](https://koobas.hobune.stream/wayback/20220612202633im_/https://answers.unity.com/themes/thub/images/avi.jpg)