UxmlObjectAttribute

class in UnityEngine.UIElements

/

Implemented in:UnityEngine.UIElementsModule

Description

Declares that a class can be instantiated from UXML and contain UXML attributes.

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.


Did you find this page useful? Please give it a rating: