文档

Unity Engine

Download Unity

Unity Engine

name

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

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.