示例#1
0
        internal override void Start()
        {
            loadingProgress = AddComponent <LoadingProgress>();
            abg             = AddComponent <AssetBundleGroup>();
            sbg             = AddComponent <SceneBundleGroup>();
            wfg             = AddComponent <WWWFileGroup>();
            wag             = AddComponent <WWWAudioGroup>();
            gsd             = AddComponent <GOEStringDelegate>();
            glm             = AddComponent <GOELoaderMgr>();
            rbl             = AddComponent <ResBundleList>();
            rim             = AddComponent <ResIdxMap>();
            brn             = AddComponent <BundleRename>();

            initialize();
        }
示例#2
0
        public void UnRegisterIdxByBundleName(string bundleName)
        {
            BundleInfo bundle = rbl.GetBundle(bundleName);
            ResIdxMap  idxMap = rim;

            if (bundle != null)
            {
                foreach (string asset in bundle.Files)
                {
                    idxMap.UnRegisterByAssetName(asset);
                }
            }

            rbl.UnRegisterByBundleName(bundleName);
        }