LuaModelMgr.lua 254 B

123456789101112131415
  1. local LuaModelMgr = class("LuaModelMgr", function()
  2. return ModelMgr.Instance
  3. end)
  4. function LuaModelMgr:ctor()
  5. end
  6. function LuaModelMgr:Destroy()
  7. if tolua.getpeer(self) ~= nil then
  8. tolua.setpeer(self, nil)
  9. end
  10. end
  11. return LuaModelMgr