UE4 使用 VisualStudio 创建 C++ Class

在项目中 Add Class 找到创建的Class 移动要项目中的目录。 #include “xxx.generated.h” 若class中含有 UE4 的宏,比如 UENUM, UFUNCTION等, 需要 ** #include “xxx.generated.h” ** Build Debug Game Editor 然后选择 Debug Game Editor 进行编译(其他模式可能 提示
相关文章
相关标签/搜索