LuaHandleRetBossHomeBossRssState = {} function LuaHandleRetBossHomeBossRssState.HandlePacket(mem) require "LuaDistributesRetBossHomeBossRssState" packet = LuaDistributesRetBossHomeBossRssState.ExtraPacket(mem) --print(packet) -- local uiObj = CS.LuaUIManager.Instance:GetUIInstance("ExtraBossRoot") -- if uiObj == nil then -- print("uiObj is nil") -- return --没打开界面不处理 -- end -- uiObj:GetComponent("LuaUIBehaviour"):CallScriptFuncAtPath("ExtraBossRoot.BossHomeBossRssState", packet) end