CreateUxmlSerializedData(Type)
Creates a UxmlSerializedData instance for the given type with default values applied.
Read time 1 minuteLast updated 13 days ago
Definition
- Type: Method
- Namespace: UnityEditor.UIElements
- Assembly: UnityEditor
public static UxmlSerializedData CreateUxmlSerializedData(Type type)
Parameters
The type that contains the UxmlSerializedData. The type must belong to a class that's actively decorated with either the UxmlElementAttribute or UxmlObjectAttribute attribute.
Returns
Type | Description |
|---|---|
| UxmlSerializedData |