static int Close(IntPtr L) { try { ToLua.CheckArgsCount(L, 1); Framework.LuaMgr obj = (Framework.LuaMgr)ToLua.CheckObject <Framework.LuaMgr>(L, 1); obj.Close(); return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
static int Close(IntPtr L) { #if UNITY_EDITOR ToluaProfiler.AddCallRecord("Framework.LuaMgr.Close"); #endif try { ToLua.CheckArgsCount(L, 1); Framework.LuaMgr obj = (Framework.LuaMgr)ToLua.CheckObject <Framework.LuaMgr>(L, 1); obj.Close(); return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }