LuaHandleRetPropsReset = {} function LuaHandleRetPropsReset.HandlePacket(mem) require "LuaDistributesRetPropsReset" local packet = LuaDistributesRetPropsReset.ExtraPacket(mem) --print(packet) print("LuaHandleRetPropsReset.HandlePacket(mem)") local uiObj = CS.LuaUIManager.Instance:GetUIInstance("MysticalBoxRoot") if uiObj == nil then print("uiObj is nil") end uiObj:GetComponent("LuaUIBehaviour"):CallScriptFuncAtPath("MysticalBoxUI.OnRetPropsReset", packet) end