Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


UxmlObjectAttribute

Declares that a class can be instantiated from UXML and contain UXML attributes.
Read time 3 minutesLast updated 6 days ago

Definition

[AttributeUsage(AttributeTargets.Class, Inherited = false)]public class UxmlObjectAttribute : Attribute, _Attribute

Remarks

A UXML object is a class that can be instantiated from UXML and contain UXML attributes. By utilizing the UxmlObjectReferenceAttribute attribute, you can use a UXML object to associate complex data with a field, surpassing the capabilities of a single UxmlAttributeAttribute.

Inheritance

Inherited Members