기술 자료

Unity Engine

Unity Engine

PanelScreenMatchMode

Options that specify how to scale the panel area when the aspect ratio of the current screen resolution does not match the reference resolution. See PanelSettings.screenMatchMode.
읽는 시간 1분최근 업데이트: 20일 전

Definition

public enum PanelScreenMatchMode

Fields

Value

Description

ExpandExpand the panel area horizontally or vertically so the panel size is never smaller than the reference resolution.
MatchWidthOrHeightScales the panel area using width, height, or a mix of the two as a reference.
ShrinkCrops the panel area horizontally or vertically so the panel size never exceeds the reference resolution.