diff --git a/PostProcessing/Editor/PostProcessEffectBaseEditor.cs b/PostProcessing/Editor/PostProcessEffectBaseEditor.cs index 06b61395..fca0ed95 100644 --- a/PostProcessing/Editor/PostProcessEffectBaseEditor.cs +++ b/PostProcessing/Editor/PostProcessEffectBaseEditor.cs @@ -148,7 +148,17 @@ protected void PropertyField(SerializedParameterOverride property, GUIContent ti } // Default unity field - EditorGUILayout.PropertyField(property.value, title); + if (property.value.hasVisibleChildren + && property.value.propertyType != SerializedPropertyType.Vector2 + && property.value.propertyType != SerializedPropertyType.Vector3) + { + GUILayout.Space(12f); + EditorGUILayout.PropertyField(property.value, title, true); + } + else + { + EditorGUILayout.PropertyField(property.value, title); + } } } }