[UE4]反射
1、根据名字获得类(C++支持,蓝图本身不支持但可以通过工厂模式模拟) 国外大神提供的封装好的C++实现: https://github.com/getsetgames/BlueprintReflection 功能: 1) Get Class By Name(根据类的名字获得类) The Get Class By Name blueprint function can be used to retrieve a Class (UClass) object by providing its name. 2) Construct Object From Class(根据类来构建对象) The Construct Object From Class blueprint function can be used to create an instance of any class that derives from Object (UObject). 3)Construct Object From Class Name(根据类的名字来生成对象) The Construct Object From Class Name blueprint function can be used to create an instance of any class that derives from