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

Creates custom GUI with UI Toolkit 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: