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.

RangeInt

struct in UnityEngine

Description

Describes an integer range.

Properties

endThe end index of the range (not inclusive).
lengthThe length of the range.
startThe starting index of the range, where 0 is the first position, 1 is the second, 2 is the third, and so on.

Constructors

RangeIntConstructs a new RangeInt with given start, length values.