Enum PanelScaler.ScaleMode
Determines how elements in the Panel are scaled.
Namespace: Unity.UIElements.Runtime
Assembly: solution.dll
Syntax
public enum PanelScaler.ScaleMode
Fields
| Name | Description |
|---|---|
| ConstantPhysicalSize | Makes elements retain the same physical size (displayed size) regardless of screen size and resolution. |
| ConstantPixelSize | Makes elements retain the same size in pixels regardless of screen size. |
| ScaleWithScreenSize | Makes elements bigger the bigger the screen is. |