private static void _PreDownloadRequest(string assetPath, ref List <WWWItem> reqPreloadList, bool skipDuplicationCheck, object param) { if (reqPreloadList == null) { TsLog.LogWarning("[PreDownalod] reqPreloadList param is null!", new object[0]); } else { WWWItem wWWItem; if (skipDuplicationCheck) { wWWItem = Holder.TryGetOrCreateBundle(assetPath, Option.undefinedStackName); } else { wWWItem = Holder.GetPreDownloadBundle(assetPath, ItemType.UNDEFINED); } if (wWWItem == null) { if (Option.EnableTrace) { TsLog.Log("[PreDownload] _PreDownloadRequest( AssetPath=\"{0}\", Type={1} ) => already created WWWItem.", new object[] { assetPath, ItemType.UNDEFINED }); } } else { if (Option.EnablePreDownloadHistory) { Helper._WriteToHistory(wWWItem); } wWWItem.SetCallback(new PostProcPerItem(Helper.DisposeDownloadedWWW), param); reqPreloadList.Add(wWWItem); } } }