参考文档:
https://wiki.unrealengine.com/Delegates_In_UE4,_Raw_Cpp_and_BP_Exposed //C++代理事件
https://docs.unrealengine.com/latest/CHN/Programming/UnrealArchitecture/Delegates/index.html
用宏定义类似格式:
DECLARE_DELEGATE //普通代理
DECLARE_DYNAMIC_DELEGATE_TwoParams //动态代理
DECLARE_DYNAMIC_MULTICAST_DELEGATE_TwoParams //动态多广播代理
//多出的两个关键字的作用
In the case of multicast delegates, any number of entities within your code base can respond to the same event and receive the inputs and use them.
In the case of dynamic delegates, the delegate can be saved/loaded within a Blueprint graph (they're called Events/Event Dispatcher in BP).
DYNAMIC:可以在蓝图里被序列化后定义和绑定操作。
MULTICAST<