docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method ApplyScalesOnSize

    ApplyScalesOnSize(Vector2Int)

    Applies to the passed size the scale imposed by the dynamic resolution system. This function uses the internal resolved scale from the dynamic resolution system. Note: this function is pure (has no side effects), this function does not cache the pre-scale size

    Declaration
    public Vector2Int ApplyScalesOnSize(Vector2Int size)
    Parameters
    Type Name Description
    Vector2Int size

    The size to apply the scaling

    Returns
    Type Description
    Vector2Int

    The parameter size scaled by the dynamic resolution system.

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