기술 자료

Unity Engine

Unity Engine

this[]

Gets values by key.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

  • Type: Property
  • Namespace: Unity.Collections
  • Assembly: UnityEngine.ManagedKernelModule

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.