// Load AssetBundleManifest.
        public static ITask <BundleManfiestMap> Initialize()
        {
            if (_initalized)
            {
                return(Manifest);
            }
#if UNITY_EDITOR
            log.Info("Simulation Mode: " + (SimulateAssetBundleInEditor ? "Enabled" : "Disabled"));
            // If we're in Editor simulation mode, we don't need the manifest assetBundle.
            if (SimulateAssetBundleInEditor)
            {
                return(Task.FromResult <BundleManfiestMap>(null));
            }
#endif

            var task = LoadAssetAsync <AssetBundleManifest>(BundleUtility.GetPlatformName(), "AssetBundleManifest");
            task.Then(manifest => Manifest.Resolve(new BundleManfiestMap(manifest)));
            _initalized = true;
            return(Manifest);
        }
 public static void SetSourceAssetBundleUrl(string absolutePath)
 {
     BaseDownloadingUrl = absolutePath + BundleUtility.GetPlatformName() + "/";
 }