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,17 +1,12 @@
|
||||
---@type LuaGameInstance
|
||||
local M = UnLua.Class()
|
||||
|
||||
local Bootstrap = require("Framework.Bootstrap")
|
||||
local Log = require("Framework.Log")
|
||||
|
||||
function M:ReceiveInit()
|
||||
local LuaGameInstance = UnLua.Class()
|
||||
function LuaGameInstance.ReceiveInit(self)
|
||||
Bootstrap.Init(self)
|
||||
Log.Info("LuaGameInstance:ReceiveInit()")
|
||||
end
|
||||
|
||||
function M:ReceiveShutdown()
|
||||
function LuaGameInstance.ReceiveShutdown(self)
|
||||
Log.Info("LuaGameInstance:ReceiveShutdown()")
|
||||
Bootstrap.Shutdown()
|
||||
end
|
||||
|
||||
return M
|
||||
return LuaGameInstance
|
||||
Reference in new issue
Block a user