How to keep a constant UI position when fullscreen?


#1

So here we added the score to the bottom right of the canvas, but when I maximize it, the score is towards the center instead of the corner.

I realize that the canvas changes size according to the size of the Game view window, but is there a way to keep it in the spot you want relative to the window, let’s say you want it in a corner, or do you have to adjust it for full screen view later on?


#2

https://docs.unity3d.com/Manual/UIBasicLayout.html

Anchor presets - if you want the score bottom right, anchor it to the bottom right.


#3

Wow, thank you!

I really need to read through that manual. I’m pretty sure it answers 99% of my questions.

Thank you again!


#4

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.