GENERATED_BODY
GENERATED_BODY()函数是什么?
会发现它是一个宏定义 // Include a redundant semicolon at the end of the generated code block, so that intellisense parsers can start parsing // a new declaratio ......
宏 GENERATED_UCLASS_BODY() 与 GENERATED_BODY() 简析
继承自UE4引擎的类会生成一些宏代码。 这此宏代码的作用就是帮助生成构造函数和相关成员函数 UCLASS()class SECTION1_API ASUsableActor : public AActor{ GENERATED_BODY() public: }; UCLASS()class SURV ......