VisualElement.ClearClassList

Declaration

public void ClearClassList();

Description

Removes all classes from the class list of this element. AddToClassList

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.


Did you find this page useful? Please give it a rating: