public AssetBundleManager(string bundleDownladerUri, AssetPath assetPath = AssetPath.streamingAssetsPath) { switch (assetPath) { case AssetPath.streamingAssetsPath: uriString = BundleUtil.GetReadOnlyDirectory(); break; case AssetPath.persistentDataPath: uriString = BundleUtil.GetStorableDirectory(); break; case AssetPath.temporaryCachePath: uriString = BundleUtil.GetTemporaryCacheDirectory(); break; } this.resources = null; if (string.IsNullOrEmpty(bundleDownladerUri)) { return; } Uri baseUri = new Uri(bundleDownladerUri); this.downloader = new WWWDownloader(baseUri, false); }