public void LoadAssetBundleCRC()
        {
            _dictAssetBundleCRC = null;
            BaseLoader loader = BaseLoader.Init <AssetBundleCRCLoader> ("AssetBundleCRC");

            _listSelfLoader.Add(loader);
        }
        public void LoadAssetBundleManifest()
        {
            assetBundleManifest = null;
            BaseLoader loader = BaseLoader.Init <AssetBundleManifestLoader> ("AssetBundleManifest");

            _listSelfLoader.Add(loader);
        }
        public bool RegisterRequestSet(string label, ResourceRequestSet resourceSet)
        {
            if (_dictRequestSet.ContainsKey(label) == true)
            {
                return(false);
            }

            foreach (var requestItem in resourceSet.GetList())
            {
                BaseLoader loader = null;
                if (_dictLoader.ContainsKey(requestItem.url) == true)
                {
                    continue;
                }

                ResourceItem resourceItem = null;
                switch (requestItem.type)
                {
                case ResourceType.Asset:
                    if (_dictResourceAsset.TryGetValue(requestItem.url, out resourceItem) == false)
                    {
                        loader = BaseLoader.Init <AssetLoader> (requestItem.url);
                    }
                    break;

                case ResourceType.AssetBundle:
                    if (_dictResourceAssetBundle.TryGetValue(requestItem.url, out resourceItem) == false)
                    {
                        loader = BaseLoader.Init <AssetBundleLoader> (requestItem.url);
                    }
                    break;

                case ResourceType.Texture:
                    if (_dictResourceTexture.TryGetValue(requestItem.url, out resourceItem) == false)
                    {
                        loader = BaseLoader.Init <TextureLoader> (requestItem.url);
                    }
                    break;

                default:
                    Debug.LogErrorFormat("{0} {1} NotFound {2}", typeof(ResourceManager).Name, MethodBase.GetCurrentMethod().Name, requestItem.type);
                    break;
                }

                if (resourceItem != null)
                {
                    resourceItem.IncRef();
                }
                if (loader != null)
                {
                    _dictLoader.Add(requestItem.url, loader);
                }
            }
            _dictRequestSet.Add(label, resourceSet);
            return(true);
        }