Version: Unity 6.7 Alpha (6000.7)
LanguageEnglish
  • C#

UxmlComponentSerializedData

class in UnityEngine.UIElements

/

Inherits from:UIElements.UxmlSerializedData

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Description

Serialized data of a component authored on a VisualElement in UXML. Generated for VisualElementComponentAttribute structs; an element's own data derives from UxmlSerializedData directly.

Public Methods

Method Description
CreateInstance Creates the component this data describes on owner.

Inherited Members

Public Methods

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

Static Methods

MethodDescription
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 UxmlSerializedData.Deserialize.