文档

Unity Engine

Unity Engine

this[]

Access the x, y or z component using [0], [1] or [2] respectively.
阅读时间1 分钟最后更新于 1 个月前

Definition

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

this[int]

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

Parameters

index

Returns

Type

Description

int