17 lines
356 B
Lua
17 lines
356 B
Lua
---@type LuaGameInstance
|
|||
|
|
local M = UnLua.Class()
|
||
|
|
|
||
|
|
local Bootstrap = require("Framework.Bootstrap")
|
||
|
|
local Log = require("Framework.Log")
|
||
|
|
|
||
|
|
function M:ReceiveInit()
|
||
|
|
Bootstrap.Init(self)
|
||
|
|
Log.Info("LuaGameInstance:ReceiveInit()")
|
||
|
|
end
|
||
|
|
|
||
|
|
function M:ReceiveShutdown()
|
||
|
|
Log.Info("LuaGameInstance:ReceiveShutdown()")
|
||
|
|
Bootstrap.Shutdown()
|
||
|
|
end
|
||
|
|
|
||
|
|
return M
|