PropertyDrawer.CreatePropertyGUI

Declaration

public UIElements.VisualElement CreatePropertyGUI(SerializedProperty property);

Parameters

property The SerializedProperty to make the custom GUI for.

Returns

VisualElement The element containing the custom GUI.

Description

Override this method to make your own UI Toolkit based GUI for the property.

See PropertyDrawer for an example of making a custom property drawer that uses CreatePropertyGUI.


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