LanguageEnglish
  • C#
  • JS

Script language

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

This version of Unity is unsupported.

Rect.size

public Vector2 size;

Description

The width and height of the rectangle.

Size is measured from the position.