Lock UI scale
-
- Posts: 28
- Joined: Sun May 28, 2023 8:30 pm
Lock UI scale
How do I lock the UI scale, so it isn't subject to the size of the 'Game' window?
Re: Lock UI scale
Hi,
Inspect your Canvas (e.g., the Canvas child of the Dialogue Manager GameObject). Add a Canvas Scaler if it doesn't have one. Set UI Scale Mode to Scale With Screen Size. Then set a Reference Resolution. In the screenshot below, the reference resolution is 960x600:
I like to slide Match to Height since height tends to be more similar across different monitors, but with can vary from normal width to super-ultra wide.
Inspect your Canvas (e.g., the Canvas child of the Dialogue Manager GameObject). Add a Canvas Scaler if it doesn't have one. Set UI Scale Mode to Scale With Screen Size. Then set a Reference Resolution. In the screenshot below, the reference resolution is 960x600:
I like to slide Match to Height since height tends to be more similar across different monitors, but with can vary from normal width to super-ultra wide.