AddToClassList(string)
Adds a class to the class list of the element in order to assign styles from USS. Note the class name is case-sensitive.
읽는 시간 1분최근 업데이트: 한 달 전
Definition
- Type: Method
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
public void AddToClassList(string className)
Parameters
The name of the class to add to the list.