ClassListContains(string)
Searches for a class in the class list of this element.
Read time 1 minuteLast updated 4 days ago
Definition
- Type: Method
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
public bool ClassListContains(string cls)
Parameters
The name of the class for the search query.
Returns
Type | Description |
|---|---|
| bool | Returns true if the class is part of the list. Otherwise, returns false. |