Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#

VisualElement.name

public string name;

Description

The name of this VisualElement.

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