UE4 Q&A

--问:为何在C++的Blueprint Function Library写好的方法,无法在蓝图类中被智能感知,并且要求输入一个Target

  答:检查你的代码,可能你遗漏了一个static关键字

--问: 'USE_RTTI' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif'

  答:检查头文件, 是否引入#include "Actor.h" 而非 #include "GameFramework/Actor.h"

原文地址:https://www.cnblogs.com/CodeSnippet/p/7149573.html