docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    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.

    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)