local actor={}
function actor:ReceiveBeginPlay()
self.bCanEverTick = true
--self.Super:ReceiveBeginPlay()
R1 = FVector(100,100,100)
F1 = self.K2_SetActorLocation(R1)
print(F1)
end
function actor:Tick(reason)
--self.Super:Tick(reason)
--print("2")
R = FRotator(0,0,0.4)
F = self.K2_AddActorLocalRotation(R,false,0,ETeleportType::None)
print(F)
end
function actor:ReceiveTick(dt)
end
return actor
模仿官方Demo瞎写没效果
slua如何入门?
该提问来源于开源项目:Tencent/sluaunreal