Version: 2017.3 (switch to 2017.4)
LanguageEnglish
  • C#
  • JS

Script language

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

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.

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