随笔分类 -  UE4反射

摘要:为什么父类用UFUNCTION()宏修饰的虚函数在子类重写虚函数时不能用UFUNCTION()宏修饰Override of UFUNCTION in parent class (SlAiEnemyTool) cannot have a UFUNCTION() declaration above it; it will use the same parameters as the original 阅读全文
posted @ 2022-05-18 17:13 hellogiao1 阅读(817) 评论(0) 推荐(0)
摘要:UE4反射编程UE4反射编程 获取类名称和类标记 //通过反射获得类名和属性变量 UStudent* Student = NewObject<UStudent>(); UClass* StudentClass = Student->GetClass(); //获取类名称 FString ClassName = S 阅读全文
posted @ 2022-05-09 22:42 hellogiao1 阅读(2164) 评论(0) 推荐(0)