示例#1
0
        internal override void Start()
        {
            abg = AddComponent <AssetBundleGroup>();
            sbg = AddComponent <SceneBundleGroup>();
            wfg = AddComponent <WWWFileGroup>();
            wag = AddComponent <WWWAudioGroup>();
            gsd = AddComponent <GOEStringDelegate>();
            glm = AddComponent <GOELoaderMgr>();

            InitRuntimePlatformPathResolver();

            LoadSQLiteBundleMap();
        }
示例#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>();

            initialize();
        }
示例#3
0
        public Resource GetDownloadResource(string name)
        {
            Resource         res         = null;
            AssetBundleGroup bundlegroup = abg;

            res = bundlegroup.GetDownloadResource(name);
            if (res != null)
            {
                return(res);
            }

            SceneBundleGroup scenegroup = sbg;

            res = scenegroup.GetDownloadResource(name);
            if (res != null)
            {
                return(res);
            }
            WWWFileGroup filegroup = wfg;

            res = filegroup.GetDownloadResource(GetFileNameByBundleName(name));
            return(res);
        }