test: add comprehensive ts2lua-unreal TS/Lua 5.4 test suites and upgrade to v0.2.2

This commit is contained in:
szy73711 committed 2026-11-29 03:35:49 +08:00
1 parent ee2e62bb34
commit 3dd61c32a9
75 files changed
+9929 -10

No files matched your search

@@ -0,0 +1,20 @@
local Ex04_DynamicSpawnedActor = UnLua.Class()
function Ex04_DynamicSpawnedActor.Initialize(self, Initializer)
self.initTag = Initializer and Initializer.InitTag or "Default"
self.initPower = Initializer and Initializer.InitPower or 0
self.beginPlayCalled = false
end
function Ex04_DynamicSpawnedActor.ReceiveBeginPlay(self)
self.Overridden.ReceiveBeginPlay(self)
self.beginPlayCalled = true
end
function Ex04_DynamicSpawnedActor.GetInitTag(self)
return self.initTag
end
function Ex04_DynamicSpawnedActor.GetInitPower(self)
return self.initPower
end
function Ex04_DynamicSpawnedActor.IsBeginPlayCalled(self)
return self.beginPlayCalled
end
return Ex04_DynamicSpawnedActor