So I’ve made a Canvas and have added a button to it. The thing is whenever I do a build and run it on my phone, the button is smaller, but on the editor it is the normal size.
I was wondering if there is a setting where the button will stay the same size no matter what screen the button is on?
‘Constant physical size’ should maintain the buttons size, in pixels. This means that if you scale your screen size up, the button will appear smaller in relation, even if it is actually the same. You can make the button scale with the size of the screen, in it’s Canvas Scaler options, under ‘UI Scale Mode’.
What do you mean by same size?
Should your button be of fixed size OR should your button change according to the screen size? Please elaborate for further assistance.
Well hi, this is quite easy, all you need to do is use the rect transforming options, and combine them with Canvas Scalar and you will never have this problem again. It will scale to any size. You also have a lot of tutorials on how to use the rect transforming options and theyre pretty easy once you understand. I hope my answer was helpful.