- C++公开给蓝图
UFUNCTION(BlueprintCallable, Category = "MyCppFunc")
void MyCppFunc1();
- C++调用蓝图(在头文件声明,蓝图内实现即可,无需在cpp文件实现)
UFUNCTION(BlueprintImplementableEvent, Category = "MyBPFunc")
void MyBPFunc1();
- C++实现、蓝图可覆盖实现
UFUNCTION(BlueprintNativeEvent, Category = "MyFunc")
void MyFunc1();