Class DirDrawer
Draws the Inspector GUI for an optional dir property
Inherited Members
Namespace: Unity.AppUI.Editor
Assembly: solution.dll
Syntax
[CustomPropertyDrawer(typeof(DefaultPropertyDrawerAttribute))]
public class DirDrawer : PropertyDrawer
Methods
CreatePropertyGUI(SerializedProperty)
Override this method to make your own UI Toolkit based GUI for the property.
Declaration
public override VisualElement CreatePropertyGUI(SerializedProperty property)
Parameters
Type | Name | Description |
---|---|---|
SerializedProperty | property | The SerializedProperty to make the custom GUI for. |
Returns
Type | Description |
---|---|
VisualElement | The element containing the custom GUI. |