GetClasses()
Retrieve the classes for this element.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
public IEnumerable<string> GetClasses()
Returns
Type | Description |
|---|---|
| IEnumerable<string> | A class list. |
Remarks
The order of the classes will always be the same between two elements that have the same classes. However, the ordering of the classes for a given element is not guaranteed to match between executions or after a domain reload.