Delegates as Parameter

I messed up with the macros.
Solution:
DECLARE_DYNAMIC_DELEGATE for the function parameter.
DECLARE_DYNAMIC_MULTICAST_DELEGATE for the class variable.

Handle isn’t needed (isn’t even there iirc), same event input param can be used to unsubscribe.

Kinda cool and everything seems to work, if I have the time I am going to make a tutorial on this.

3 Likes