Version: Unity 6 (6000.0)
LanguageEnglish
  • C#

UxmlSerializedData

class in UnityEngine.UIElements

/

Implemented in:UnityEngine.UIElementsModule

Description

Generates an instance of the declaring element when the UxmlElementAttribute is used in a custom control.

Public Methods

Description
CreateInstance Returns an instance of the declaring element.
Deserialize Applies serialized field values to a compatible visual element.

Static Methods

Description
Register This is used by the code generator when a custom control is using the UxmlElementAttribute. You should not need to call it.
ShouldWriteAttributeValue Determines if an attribute should be applied during Deserialize.