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

public float xMax;

Description

The maximum X coordinate of the rectangle.

Setting this value will change width to preserve xMin.