Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#

UxmlSerializedDataCreator.CreateUxmlSerializedData

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

Declaration

public static UIElements.VisualElement.UxmlSerializedData CreateUxmlSerializedData(Type type);

Parameters

fullTypeName The full type name of the Type that contains the <see cref="UxmlSerializedData" />. Should belong to a type that is decorated with either the <see cref="UxmlElementAttribute" /> or <see cref="UxmlObjectAttribute" /> attribute.

Description

Creates a UxmlSerializedData instance for the given type with default values applied.