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"

posted on 2017-07-11 11:09  吾少也贱,故能多鄙事。  阅读(214)  评论(0编辑  收藏  举报

导航