文档

Unity Engine

Unity Engine

ClassListContains(string)

Searches for a class in the class list of this element.
阅读时间1 分钟最后更新于 1 个月前

Definition

public bool ClassListContains(string cls)

Parameters

The name of the class for the search query.

Returns

Type

Description

boolReturns true if the class is part of the list. Otherwise, returns false.