CreatePropertyGUI(SerializedProperty)
Creates custom GUI with UI Toolkit for the property.
Read time 1 minuteLast updated 9 days ago
Definition
- Type: Method
- Namespace: UnityEditor
- Assembly: UnityEditor.CoreModule
public virtual VisualElement CreatePropertyGUI(SerializedProperty property)
Parameters
The SerializedProperty to make the custom GUI for.
Returns
Type | Description |
|---|---|
| VisualElement | The element containing the custom GUI. |
Remarks
See PropertyDrawer for an example of making a custom property drawer that uses CreatePropertyGUI.