static int AddRemoveProxy(IntPtr L) { #if UNITY_EDITOR ToluaProfiler.AddCallRecord("Framework.ResourceModule.ResourceMgr.AddRemoveProxy"); #endif try { ToLua.CheckArgsCount(L, 2); Framework.ResourceModule.ResourceMgr obj = (Framework.ResourceModule.ResourceMgr)ToLua.CheckObject <Framework.ResourceModule.ResourceMgr>(L, 1); Framework.ResourceModule.AbsAssetProxy arg0 = (Framework.ResourceModule.AbsAssetProxy)ToLua.CheckObject <Framework.ResourceModule.AbsAssetProxy>(L, 2); obj.AddRemoveProxy(arg0); return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
static int LoadAssetAsync(IntPtr L) { #if UNITY_EDITOR ToluaProfiler.AddCallRecord("Framework.ResourceModule.ResourceMgr.LoadAssetAsync"); #endif try { ToLua.CheckArgsCount(L, 2); Framework.ResourceModule.ResourceMgr obj = (Framework.ResourceModule.ResourceMgr)ToLua.CheckObject <Framework.ResourceModule.ResourceMgr>(L, 1); string arg0 = ToLua.CheckString(L, 2); Framework.ResourceModule.AbsAssetProxy o = obj.LoadAssetAsync(arg0); ToLua.PushObject(L, o); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
public void AddRemoveProxy(AbsAssetProxy proxy) { _removeList.Add(proxy); }