Contains(StylePropertyName)
Determines whether a StylePropertyNameCollection contains the specified element.
Read time 1 minuteLast updated 13 days ago
Definition
- Type: Method
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
public bool Contains(StylePropertyName stylePropertyName)
Parameters
The element to locate in the StylePropertyNameCollection.
Returns
Type | Description |
|---|---|
| bool | true if the StylePropertyNameCollection contains the specified element; otherwise, false. |