文档

Unity Engine

Unity Engine

PanelScaleMode

Options that specify how elements in the panel scale when the screen size changes. See PanelSettings.scaleMode.
阅读时间1 分钟最后更新于 19 天前

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.