Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


RangeInt

Describes an integer range.
Read time 1 minuteLast updated 4 days ago

Definition

  • Type: Struct
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public struct RangeInt

Fields

Value

Description

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

Constructor

Description

RangeInt(System.Int32,System.Int32)Constructs a new RangeInt with given start, length values.

Properties

Property

Description

endThe end index of the range (not inclusive).