Using Event Selector in Custom Editor

Hi guys, I’m hoping there’s a nice easy way to implement one of the event selectors in my custom editors. I’m writing my own script to wrap some of the IEventSystemHandler events rather than an EventTrigger.

By ‘event selector’ I mean this little section:
1778908--112922--eventselector.PNG

Can any one point me in the right direction?

using UnityEngine.Events;
...
public UnityEvent Test;

or add a EventTrigger component

1 Like

Excellent! Thank you very much :slight_smile: