Reply To: Custom Delegate += property not showing up.

FlowCanvas Forums Support Custom Delegate += property not showing up. Reply To: Custom Delegate += property not showing up.

#3643
Gavalakis
Keymaster

Hello and sorry for the late reply.

You need to get a reference to the object that has the actual event declared, not the event delegate.
For example, I have declared a delegate similar to yours somewhere, and then made a MyClass type (that happens to be MonoBehaviour), within which I have delcared an event that is of that same delegate type.

If I drag a MyClass instance in FlowCanvas editor, the event is shown under “Event” with various options on how to use it. The simplest way to use it is “AutoSubscribe”, but you can also use += / -=, or Get Reference of course.

dragevent

Let me know if that helps.

Join us on Discord: https://discord.gg/97q2Rjh

Attachments:
  1. dragevent.png