LimitMaxSize

Limits RectTransform width or height if its size is relative to the parent.

Options

  • LimitWidth bool

  • MaxWidth float

    Maximum allowed width.

  • LimitHeight bool

  • MaxHeight float

    Maximum allowed height.