Contains(StylePropertyName)
Determines whether a StylePropertyNameCollection contains the specified element.
阅读时间1 分钟最后更新于 1 个月前
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. |