UFUNCTION编译错误

233 阅读1分钟

在写ActorComponent的时候发现了一个很弱智的问题

如果没有将ActorComponent挂到蓝图上,使用 UFUNCTION(BlueprintCallable, Category = "XXX")定义一个函数的编译不通过