Legacy Documentation: Version 2017.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.size

public Vector2 size;

Description

The width and height of the rectangle.

Size is measured from the position.

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