sluaunreal icon indicating copy to clipboard operation
sluaunreal copied to clipboard

sLua里如何使用播放特效 SpawnEmitterAtLocation

Open AceYuNan opened this issue 4 years ago • 1 comments

我的代码 GameplayStatics.SpawnEmitterAtLocation(gactor, owner["Effect"], owner:K2_GetActorLocation(), owner:K2_GetActorRotation() )

试了报错 expect userdata LuaStruct, but got UObject, if you passed an UObjec

AceYuNan avatar Sep 02 '20 11:09 AceYuNan

目前不支持默认参数,你需要传入全部参数

pangweiwei avatar Sep 02 '20 12:09 pangweiwei