Esempio n. 1
0
 // 根据 targets 遍历产生所有实际资源列表 assets
 public static bool Scan(BundleBuilderData data, BuildTarget targetPlatform)
 {
     data.Cleanup();
     foreach (var bundle in data.bundles)
     {
         ScanBundle(data, bundle);
     }
     return(true);
 }
Esempio n. 2
0
        // 根据 targets 遍历产生所有实际资源列表 assets
        public static bool Scan(BundleBuilderData data)
        {
            data.Cleanup();
            var bundles = data.bundles.ToArray();

            Array.Sort(bundles, BundleComparer);
            foreach (var bundle in bundles)
            {
                ScanBundle(data, bundle);
            }

            return(true);
        }