示例#1
0
        public void UnRegisterIdxByBundleName(string bundleName)
        {
            GOEBundle bundle = rbl.GetBundle(bundleName);
            ResIdxMap idxMap = rim;

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

            rbl.UnRegisterByBundleName(bundleName);
        }
示例#2
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>();
            lr = AddComponent <LocaleResource>();

            initialize();
        }