文档

Unity Engine

Unity Engine

UxmlAttributeAttribute

Declares that a field or property is associated with a UXML attribute.
阅读时间1 分钟最后更新于 1 个月前

Definition

UxmlAttributeAttribute()

Declares that a field or property is associated with a UXML attribute.
public UxmlAttributeAttribute()

UxmlAttributeAttribute(string)

Declares that a field or property is associated with a UXML attribute.
public UxmlAttributeAttribute(string name)

Parameters

name

The name of the UXML attribute.

UxmlAttributeAttribute(string, string[])

Declares that a field or property is associated with a UXML attribute.
public UxmlAttributeAttribute(string name, params string[] obsoleteNames)

Parameters

name

The name of the UXML attribute.

obsoleteNames

The Obsolete UXML attribute names.