From 90b433967e19f81b5f4157eb3b2ca990789af686 Mon Sep 17 00:00:00 2001 From: Anton Zhernosek Date: Tue, 23 May 2023 17:04:55 +0200 Subject: [PATCH] Added missing GUI Property Height override --- .../Property Drawer/SerializableFuncPropertyDrawer.cs | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/Editor/Property Drawer/SerializableFuncPropertyDrawer.cs b/Editor/Property Drawer/SerializableFuncPropertyDrawer.cs index d6cb77d..c1b846e 100644 --- a/Editor/Property Drawer/SerializableFuncPropertyDrawer.cs +++ b/Editor/Property Drawer/SerializableFuncPropertyDrawer.cs @@ -232,6 +232,15 @@ namespace Utilities.SerializableData.SerializableFunc.UnityEditorDrawers return new Rect[] { labelRect, propertyRect }; } + #endregion + + #region Property Height Override + + public override float GetPropertyHeight(SerializedProperty property, GUIContent label) + { + return 65f; + } + #endregion #endregion @@ -679,4 +688,4 @@ namespace Utilities.SerializableData.SerializableFunc.UnityEditorDrawers } } -#endif \ No newline at end of file +#endif