Legacy Documentation: Version 2018.1 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

Rect.max

public Vector2 max;

Description

The position of the maximum corner of the rectangle.

Setting this value will resize the rectangle, changing size to preserve min.

Did you find this page useful? Please give it a rating: