Tencent / UnLua

A feature-rich, easy-learning and highly optimized Lua scripting plugin for UE.
Other
2.28k stars 619 forks source link

蓝图 Construct Object From Class 在Unlua中怎么调用呢 #726

Open Wwupup opened 1 month ago

Wwupup commented 1 month ago

您好,我在蓝图类中有个MyClass类变量,对其调用时,总是需要手动使用Construct Object From Class节点创建一个实例然后赋值给该变量。但是我在Unlua中未找到跟Construct Object From Class节点相似作用的接口。希望能获得帮助,谢谢 image image

BaconVN commented 1 month ago

NewObject(UE.YourClassName)