UxmlSerializedData
Generates an instance of the declaring element when the UxmlElementAttribute is used in a custom control.
Read time 1 minuteLast updated 5 days ago
Definition
- Type: Class
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
public abstract class UxmlSerializedData
Methods
Method | Description |
|---|---|
| CreateInstance | Returns an instance of the declaring element. |
| Deserialize | Applies serialized field values to a compatible visual element. |
Static Methods
Method | 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 UxmlSerializedData.Deserialize. |
Enums
Enum | Description |
|---|---|
| UxmlSerializedData.UxmlAttributeFlags | Used to indicate if a field is overridden in a UXML file. |