ue 遇到的头文件小问题

发布时间 2023-08-07 12:51:10作者: Stringx="2B"

CompilerResultsLog: Error: C:/Users/ppx/Documents/Unreal Projects/CryptRaider/Source/CryptRaider/Mover.h(8) :
Error: #include found after .generated.h file - the .generated.h file should always be the last #include in a header

  • 出现的问题情况编译失败,因为.generated.h 不在最后一个
  • 解决:移到最后一个即可