Documentation

Unity Engine


Unity Engine


this[]

Gets values by key.
Read time 1 minuteLast updated 9 days ago

Definition

this[T]

public readonly TValue this[TKey key] { get; }

Parameters

key

T
The key to look up.

Returns

Type

Description

T

Remarks

Getting a key that is not present will throw.