private static List <BuildAssetbundleConfig> ReadConfig() { GameDataManager.ChangeDir("."); List <BuildAssetbundleConfig> configs = BuildAssetbundleConfig.Select((item) => { return(item.Path != null); }); GameDataManager.ClearAllData(); // 路径 从长到短 排序,先处理子目录 configs.Sort(new CompareConfig()); return(configs); }