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

UxmlAttributeAttribute Constructor

Declaration

public UxmlAttributeAttribute();

Description

Declares that a field or property is associated with a UXML attribute.


Declaration

public UxmlAttributeAttribute(string name);

Parameters

name The name of the UXML attribute.

Description

Declares that a field or property is associated with a UXML attribute.


Declaration

public UxmlAttributeAttribute(string name, params string[] obsoleteNames);

Parameters

name The name of the UXML attribute.
obsoleteNames The Obsolete UXML attribute names.

Description

Declares that a field or property is associated with a UXML attribute.