Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: hermit purple on March 06, 2016, 12:20:22 PM

Title: Show UnityEvent editor interface in Action panel
Post by: hermit purple on March 06, 2016, 12:20:22 PM
From the Inspector panel, user can add listeners to a UnityEvent by clicking on the + button and drag game object into the event and select a function.

Is there a way to show similar interface in the Action panel? SendMessage action does the same thing but UnityEvent interface is so much cleaner.

If I add a UnityEvent to my custom action, only the name shows up, no way to add listener.

I've tried to implement it by myself but ObjectPropertyDrawer doesn't exist nor is the HutongGames.PlayMakerEditor namespace. Has this been deprecated?

I'm testing this with v1.7.8.3p2 in a new Unity project.