Version: 2017.3 (switch to 2017.4)
LanguageEnglish
  • C#
  • JS

Script language

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

Rect.min

public Vector2 min;

Description

The position of the minimum corner of the rectangle.

Setting this value will resize the rectangle, changing position and size to preserve max.

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