UxmlSerializedDataCreator.CreateUxmlSerializedData

Declaration

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

Parameters

type The type that contains the UxmlSerializedData. Should belong to a type that is decorated with either the UxmlElementAttribute or UxmlObjectAttribute attribute.

Description

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


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