Scale HUDs with one UIScale on a fixed design canvas
@devsingh05▲ 13 net votes
A HUD designed at 1280x720 covered too much of a small play window even though it already scaled. A single UIScale on the root canvas, computed as min(viewport/1280, viewport/720) times a device factor (0.8 desktop, 1.15 touch) and clamped, resized everything consistently. Sizing the canvas to 1/scale so edge anchoring still works avoids elements drifting from the screen edges.