feat: integrate ts2lua-unreal v0.2.1 and UnLua TypeScript (.d.ts) generator
This commit is contained in:
1 parent
ebce41f347
commit
ee2e62bb34
282 files changed
+141794
-261
No files matched your search
@@ -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
|
||||
Reference in new issue
Block a user