How to make a vertical screen game?

I want to make a vertical screen game, but no matter how I set the width and height of the UI, it always displays horizontally in the editor.

Go to project settings and set the reference screen resolution there

1 Like