private void InitInfo() { assetBundleFiles = new List <string>(); assetBundleFileNameOnly = new List <string>(); sceneBundleFiles = new List <string>(); sceneBundleFileNameOnly = new List <string>(); abCRC = new Dictionary <string, uint>(); var lines = File.ReadAllLines(Path.Combine(basePath, "ab_list.txt")); foreach (var line in lines) { string file = line.Trim(); if (string.IsNullOrEmpty(file)) { continue; } assetBundleFileNameOnly.Add(file); string abPath = Path.Combine(basePath, file); assetBundleFiles.Add(abPath); uint crc = AssetBundleLoader.GetCRCFromManifest(abPath + ".manifest"); this.abCRC.Add(abPath, crc); } lines = File.ReadAllLines(Path.Combine(basePath, "ab_scenes.txt")); foreach (var line in lines) { string file = line.Trim(); if (string.IsNullOrEmpty(file)) { continue; } sceneBundleFileNameOnly.Add(file); string abPath = Path.Combine(basePath, file); sceneBundleFiles.Add(abPath); uint crc = AssetBundleLoader.GetCRCFromManifest(abPath + ".manifest"); this.abCRC.Add(abPath, crc); } this.resultInfos = new List <ResultInfo>(lines.Length * 8); }