Search Results for

    Show / Hide Table of Contents

    Class RectExtensions

    Inheritance
    System.Object
    RectExtensions
    Namespace: GDX
    Syntax
    public static class RectExtensions

    Methods

    | Improve this Doc View Source

    GetCenteredRect(Rect, Vector2, Single)

    Declaration
    public static Rect GetCenteredRect(this Rect parentWindowPosition, Vector2 size, float safeZone = 0.9F)
    Parameters
    Type Name Description
    UnityEngine.Rect parentWindowPosition
    UnityEngine.Vector2 size
    System.Single safeZone
    Returns
    Type Description
    UnityEngine.Rect
    • Improve this Doc
    • View Source
    In This Article
    Back to top Built on 2024-01-01 against 1f69a68.
    Generated by Dox+DocFX.