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