StylePropertyAttribute(string)
Initializes a new instance of the StylePropertyAttribute class.
Read time 1 minuteLast updated 12 days ago
Definition
- Type: Constructor
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
public StylePropertyAttribute(string name)
Parameters
Custom USS property name, for example .
"--my-color"