- LogicUpdater.lua
--[[
-- 游戏逻辑Updater,游戏逻辑模块可能需要严格的驱动顺序
--]]
local LogicUpdater = BaseClass("LogicUpdater", UpdatableSingleton)
local traceback = debug.traceback
local function Update(self)
local delta_time = Time.deltaTime
local hallConnector = HallConnector:GetInstance()
local status,err = pcall(hallConnector.Update, hallConnector)
if not status then
Logger.LogError("hallConnector update err : "..err.."\n"..traceback())
end
end
local function LateUpdate(self)
end
local function FixedUpdate(self)
end
local function Dispose(self)
end
LogicUpdater.Update = Update
LogicUpdater.LateUpdate = LateUpdate
LogicUpdater.FixedUpdate = FixedUpdate
LogicUpdater.Dispose = Dispose
return LogicUpdater
支付宝捐赠

相关文章:
-
2022-12-23
-
2021-10-01
-
2022-12-23
-
2021-11-16
-
2021-08-25
-
2021-06-23
-
2021-03-30
-
2021-12-29