Documentation

Unity Engine

Unity Engine

this[]

Access the x or y component using [0] or [1] respectively.
Read time 1 minuteLast updated 2 months ago

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule

this[int]

public int this[int index] { get; set; }

Parameters

index

Returns

Type

Description

int