Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


UxmlSerializedData

Generates an instance of the declaring element when the UxmlElementAttribute is used in a custom control.
Read time 1 minuteLast updated 5 days ago

Definition

public abstract class UxmlSerializedData

Methods

Method

Description

CreateInstanceReturns an instance of the declaring element.
DeserializeApplies serialized field values to a compatible visual element.

Static Methods

Method

Description

RegisterThis is used by the code generator when a custom control is using the UxmlElementAttribute. You should not need to call it.
ShouldWriteAttributeValueDetermines if an attribute should be applied during UxmlSerializedData.Deserialize.

Enums

Enum

Description

UxmlSerializedData.UxmlAttributeFlagsUsed to indicate if a field is overridden in a UXML file.