static int AddProxy(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 2);
         Framework.ResourceMgr obj  = (Framework.ResourceMgr)ToLua.CheckObject <Framework.ResourceMgr>(L, 1);
         Framework.AssetProxy  arg0 = (Framework.AssetProxy)ToLua.CheckObject <Framework.AssetProxy>(L, 2);
         obj.AddProxy(arg0);
         return(0);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }
Exemple #2
0
    static int AddProxy(IntPtr L)
    {
#if UNITY_EDITOR
        ToluaProfiler.AddCallRecord("Framework.ResourceMgr.AddProxy");
#endif
        try
        {
            ToLua.CheckArgsCount(L, 2);
            Framework.ResourceMgr obj  = (Framework.ResourceMgr)ToLua.CheckObject <Framework.ResourceMgr>(L, 1);
            Framework.AssetProxy  arg0 = (Framework.AssetProxy)ToLua.CheckObject <Framework.AssetProxy>(L, 2);
            obj.AddProxy(arg0);
            return(0);
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e));
        }
    }
 public void AddProxy(AssetProxy proxy)
 {
     _removexyList.Add(proxy);
 }