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.Set

public void Set(float x, float y, float width, float height);

Description

Set components of an existing Rect.