Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


end

The end index of the range (not inclusive).
Read time 1 minuteLast updated 4 days ago

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public int end { get; }

Remarks

Calculated by adding RangeInt.length to RangeInt.start (for instance, if you have a string “abcdef” and you care about “cde”, then this value is (start) 2 + (length) 3 = 5).