Пример #1
0
        public IABManifestLoader()
        {
            assetManifest = null;
            manifestLoder = null;
            isLoadFinish  = false;

            manifestPath = IPathTools.GetWWWAssetBundlePath() + "/" + IPathTools.GetPlatformFolderName(Application.platform);
        }
Пример #2
0
        public void Init(string bundleName, LoadProgrecess loadProgress)
        {
            IsLoadFinish    = false;
            this.progrecess = loadProgress;
            this.bundleName = bundleName;
            assetLoader     = new IABLoader(loadProgress, LoadBundleFinish);

            assetLoader.SetBundleName(bundleName);

            Debug.Log(bundleName);
            string bundlePath = IPathTools.GetWWWAssetBundlePath() + "/" + bundleName;


            //  string bundlePath = "file:///E:/Windows" + "/" + bundleName;


            assetLoader.LoadResources(bundlePath);
        }