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.
对文档有任何疑问,请移步至开发者社区提问,我们将尽快为您解答