文档

Unity Engine

Unity Engine

ContainsKey(TKey)

Returns true if a given key is present in this hash map.
阅读时间1 分钟最后更新于 1 个月前

Definition

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

ContainsKey(T)

public bool ContainsKey(TKey key)

Parameters

key

T
The key to look up.

Returns

Type

Description

boolTrue if the key was present.