RemoveFromClassList
Removes a class from the class list of the element.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Method
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
RemoveFromClassList(string)
Removes a class from the class list of the element.
public void RemoveFromClassList(string className)
Parameters
The name of the class to remove to the list.
Remarks
This method has no effect if class name is null or empty.
RemoveFromClassList(UniqueStyleString)
Removes a class from the class list of the element.
public void RemoveFromClassList(UniqueStyleString className)
Parameters
The name of the class to remove to the list.
Remarks
This method has no effect if class name is null or empty.