Hi!
I have a UI, and I want it to automatically scale itself as appropriate on different device resolutions. How do I do this please?
Hi!
I have a UI, and I want it to automatically scale itself as appropriate on different device resolutions. How do I do this please?
In the size property of whatever GUI object you're editing, if you expand it you'll see a X & Y property, expand either one of those and you'll see Offset & Scale.
If your UI is scaled with Offset then it will remain at it's normal size, no matter what resolution you have. If it is scaled with Scale, for example if the Y Scale is 1 then it will be the same height as the resolution height. If X & Y scale is 1 then it will be the same size as the screen resolution.
Always make sure the GUI object size property is using scale, as it starts off with offset as default.
This discussion is preserved as it was. New answers, comments, and votes are closed.
1 comment
Thanks. I'll check this out and get back to you.