No matter what, a struct with a property drawer creates a space in the inspector. Even if the property drawer does nothing, as long as the struct is serialized and there’s a property drawer for it, there’s an unwanted space. I.e.
No matter what, a struct with a property drawer creates a space in the inspector. Even if the property drawer does nothing, as long as the struct is serialized and there’s a property drawer for it, there’s an unwanted space. I.e.
Have a look at the Regex Drawer in here:
https://unity3d.com/learn/tutorials/modules/intermediate/live-training-archive/property-drawers-custom-inspectors
You need to override GetPropertyHeight.