Legacy Documentation: Version 2018.2 (Go to current version)
LanguageEnglish
  • C#

Vector2Int.this[int]

public int this[int];

Description

Access the x or y component using [0] or [1] respectively.

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