UxmlSerializedDataPropertyDrawer
class in
Unity.UIToolkit.Editor
/
Inherits from:PropertyDrawer
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
Description
A base property drawer for UXML serialized data that renders attribute fields in the Inspector.
Public Methods
| Method |
Description |
| CreatePropertyGUI |
Creates the root element for the property GUI. This method is sealed.
|
Inherited Members
Properties
| Property | Description |
| attribute | The PropertyAttribute for the property. Not applicable for custom class drawers. (Read Only) |
| fieldInfo | The reflection FieldInfo for the member this property represents. (Read Only) |
| preferredLabel | The label for this property. (Read Only) |
Public Methods
| Method | Description |
| GetPropertyHeight | Override this method to specify how tall the GUI for this field is in pixels. |
| OnGUI | Override this method to make your own IMGUI based GUI for the property. |