Beispiel #1
0
        private void Init()
        {
            manifestBundle  = LoadBundleFromFile("Bundles");
            bundlesManifest = manifestBundle.LoadAsset <AssetBundleManifest>("AssetBundleManifest");
            Debug.Assert(bundlesManifest != null, "Cant load asset bundle manifest!");

            assetBundleCache = new AssetBundleCache(bundlesManifest);
            debugInterface   = new DebugInterface(assetBundleCache);
            currentAsyncBundleLoadOperations = new Dictionary <string, AssetBundleCreateRequest>();
            currentDLCDownloadRequests       = new Dictionary <string, BundleLoadRequest>();
        }
 public DebugInterface(AssetBundleCache cache)
 {
     this.cache = cache;
 }