文档

Unity Engine

Unity Engine

CountValuesForKey(TKey)

Returns the number of values associated with a given key.
阅读时间1 分钟最后更新于 1 个月前

Definition

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

CountValuesForKey(T)

public int CountValuesForKey(TKey key)

Parameters

key

T
The key to look up.

Returns

Type

Description

intThe number of values associated with the key. Returns 0 if the key was not present.