Documentation

Unity Engine


Unity Engine


PanelScaleMode

Options that specify how elements in the panel scale when the screen size changes. See PanelSettings.scaleMode.
Read time 1 minuteLast updated 14 days ago

Definition

public enum PanelScaleMode

Fields

Value

Description

ConstantPhysicalSizeElements stay the same physical size (displayed size) regardless of screen size and resolution.
ConstantPixelSizeElements stay the same size, in pixels, regardless of screen size.
ScaleWithScreenSizeElements get bigger when the screen size increases, and smaller when it decreases.