feat: integrate ts2lua-unreal v0.2.1 and UnLua TypeScript (.d.ts) generator

This commit is contained in:
szy73711 committed 2026-11-29 03:08:03 +08:00
1 parent ebce41f347
commit ee2e62bb34
282 files changed
+141794 -261

No files matched your search

+8 -10
View File
@@ -1,14 +1,12 @@
---@type LuaCharacter
local M = UnLua.Class()
local Log = require("Framework.Log")
function M:ReceiveBeginPlay()
local LuaCharacter = UnLua.Class()
function LuaCharacter.ReceiveBeginPlay(self)
Log.Info("LuaCharacter:ReceiveBeginPlay()")
end
function M:ReceiveEndPlay(EndPlayReason)
Log.Info("LuaCharacter:ReceiveEndPlay(reason=%s)", tostring(EndPlayReason))
function LuaCharacter.ReceiveEndPlay(self, EndPlayReason)
Log.Info(
"LuaCharacter:ReceiveEndPlay(reason=%s)",
tostring(EndPlayReason)
)
end
return M
return LuaCharacter