文档

Unity Engine

Unity Engine

Contains(T)

Returns true if a particular value is present.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Method
  • Namespace: Unity.Collections
  • Assembly: UnityEngine.ManagedKernelModule
public bool Contains(T item)

Parameters

item

T
The item to look up.

Returns

Type

Description

boolTrue if the value was present.