UnityEvent Custom Inspector

Been working using the UnityEvent to have a serializable delegate in my script, but I’m having problems implementing this with my custom inspector.
Anyone know how to get access to use the nice property drawer that unity uses by default with Public UnityEvents?

It uses a property drawer so if your custom UI used property drawers it should ‘just work’. There are docs on custom editor’s here that show how to do this:

Hi,

it’s odd, cause when I try, I get null for the serializedPropert when trying to find it like

serializedObject.FindProperty(“onSuccess”)serializedObject.FindProperty(“onSuccess”)

Thanks,

Jean