public void DelRef(GameAssetRequest assetRequest) { if (!this.m_listAssetRequest.Remove(assetRequest)) { AssetLogger.Error("false == m_listAssetRequest.Remove(assetRequest):"); } }
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()); } }
public void AddRef(GameAssetRequest assetRequest) { this.m_listAssetRequest.Add(assetRequest); }