ClearClassList()
Removes all classes from the class list of this element. VisualElement.AddToClassList
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
public void ClearClassList()
Remarks
This method might cause unexpected results for built-in Unity elements, since they might rely on classes to be present in their list to function.