文档

Unity Engine

Unity Engine

this[]

Access element at [row, column].
阅读时间1 分钟最后更新于 1 个月前

Definition

this[int, int]

Access element at [row, column].
public float this[int row, int column] { get; set; }

Parameters

row


column

Returns

Type

Description

floatThe value at [row, column]

this[int]

Access element at sequential index (0..5 inclusive).
public float this[int index] { get; set; }

Parameters

index

Returns

Type

Description

floatThe value at [index]