🤔

PropertyDrawer position#

Property Drawers don't support IMGUI layout functionality. You must not use methods that are of the type EditorGUILayout or GUILayout.

Resolution#

Use the functions in the EditorGUI or GUI classes, providing the Rect position that is a parameter to OnGUI.

If a Property Drawer requires more height it can be allocated by overriding the GetPropertyHeight function.