Canvas Scaler for Dialogue Manager

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
annathehank
Posts: 95
Joined: Sun May 03, 2020 2:17 pm

Canvas Scaler for Dialogue Manager

Post by annathehank »

Hello!

I'm trying to get my canvases to scale with screen size and all that jazz. I'm currently trying to fix it so that the game is set to display at 1920X1080, but I'm have a little trouble getting the dialogue manager canvas to work.

This is how it looks at a scale of 980X1080
Image
But when I change the size the contents of the template and the quest windows don't seem to adjust properly.
Image
I was curious if there's a setting in the manager I'm missing or if I just need to go into each part in the prefab and adjust the scale/size?

Thank you <3
User avatar
Tony Li
Posts: 22163
Joined: Thu Jul 18, 2013 1:27 pm

Re: Canvas Scaler for Dialogue Manager

Post by Tony Li »

Hi,

It sounds like you're doing everything right so far.

Set the Canvas Scaler > UI Scale Mode to Scale with Screen Size, Reference Resolution to 1920x1080, and Width<->Height where you want it. I usually slide it all the way to Height. I think it scales better that way on ultrawide monitors.

Then adjust the sizes of everything that goes in the canvas. You may need to make UI Elements bigger and increase font sizes. Once you get them to the sizes you want, they should stay that relative size even when the player's resolution is different.
annathehank
Posts: 95
Joined: Sun May 03, 2020 2:17 pm

Re: Canvas Scaler for Dialogue Manager

Post by annathehank »

Ah okay that's what I figured. I just wanted to make sure there wasn't anything in the manager/canvas that sort of auto adjusted the prefab elements of the dialogue display to match with the canvas scale/size. Thank you <3
Post Reply