I’m new to Unity. I want to have development console in my game. I want it to scroll down and cover whole screen in 1920x1080 resolution. I want to support other resolutions as well, including different aspect ratios: 5:4, 16:10 and 4:3 especially. I think the best way to present it would be to preserve its aspect ratio in all resolutions. This means that for ex. in 1600x1200 it would not cover a bit of bottom of the screen. In 4:3 ratio that gap would be larger, etc. How should I setup the Canvas Scaler to achieve this effect automatically? It should also behave correctly in higher resolutions than FullHD.
1 way is to set UI Scale Mode to Scale with screen size, and then the Match slider to 0 (full Width matching). Then set aspect ratio of Game window to the widest setting you want to support, seems the 1920x1080, and design the game to it.