文档

Unity Engine

Unity Engine

Contains(T)

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

Definition

public bool Contains(T item)

Parameters

item

T
The value to check for.

Returns

Type

Description

boolTrue if the value was present.