文档

Unity Engine

Unity Engine

UxmlAttributeNames(string, string, Type, params string[])

Creates a new instance of UxmlAttributeNames.
阅读时间1 分钟最后更新于 1 个月前

Definition

UxmlAttributeNames(string, string, Type, string[])

public UxmlAttributeNames(string fieldName, string uxmlName, Type typeReference = null, params string[] obsoleteNames)

Parameters

fieldName

The field name of the UXML attribute.

uxmlName

The type reference of the UXML attribute.

typeReference

The type reference of the UXML attribute.

obsoleteNames

The obsolete names of the UXML attribute.