LanguageEnglish
  • C#
  • JS

Script language

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

This version of Unity is unsupported.

Vector3Int.this[int]

public int this[int];

Description

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