文档

Unity Engine

Unity Engine

name

The name of this VisualElement.
阅读时间1 分钟最后更新于 1 个月前

Definition

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.