Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


this[]

Access element at [row, column].
Read time 1 minuteLast updated 12 days ago

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]