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.
Let me know if that helps.
Join us on Discord: https://discord.gg/97q2Rjh
Attachments:
dragevent.png
Login
Register
By registering on this website you agree to our Privacy Policy.