示例#1
0
 public void DelRef(GameAssetRequest assetRequest)
 {
     if (!this.m_listAssetRequest.Remove(assetRequest))
     {
         AssetLogger.Error("false == m_listAssetRequest.Remove(assetRequest):");
     }
 }
示例#2
0
 public void OnDownLoadFinished()
 {
     try
     {
         if (!this.m_bHasCallBacked)
         {
             this.m_bHasCallBacked = true;
             List <GameAssetRequest> list = new List <GameAssetRequest>(this.m_listAssetRequest);
             for (int i = 0; i < list.Count; i++)
             {
                 GameAssetRequest localAssetRequest = list[i];
                 localAssetRequest.OnAssetLoadFinshed(this);
             }
         }
     }
     catch (Exception ex)
     {
         Debug.LogError(ex.ToString());
     }
 }
示例#3
0
 public void AddRef(GameAssetRequest assetRequest)
 {
     this.m_listAssetRequest.Add(assetRequest);
 }