Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


name

The name of this VisualElement.
Read time 1 minuteLast updated 5 days ago

Definition

[UxmlAttribute]public string name { get; set; }

Remarks

Use this property to write USS selectors that target a specific element. The standard practice is to give an element a unique name.