- Home /
Question by
stnguyenvn · Mar 17, 2015 at 09:05 PM ·
gameobjectbuttonspritesizespriterenderer
UI Button Sizing unit
Are UI button width and height defined in pixel unit?
If I use an sprite for both UI button and GameObject (which display the sprite using Sprite Renderer component) , how do I configure so that they're exactly at the same size at Runtime, regardless of device resoultion?
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220613190430im_/https://answers.unity.com/themes/thub/images/avi.jpg)