Exemplo n.º 1
0
 public ABLoader(string abName, Hash128 abHash = new Hash128(), ABLoadStart onLoadStart = null, ABLoadUpdate onLoadUpdate = null, ABLoadCompleted onLoadCompleted = null)
 {
     assetLoader          = null;
     this.abName          = abName;
     this.abHash          = abHash;
     this.onLoadStart     = onLoadStart;
     this.onLoadUpdate    = onLoadUpdate;
     this.onLoadCompleted = onLoadCompleted;
     abDownLoadPath       = PathsUtility.GetWWWPath() + "/" + this.abName;
 }
Exemplo n.º 2
0
        private ABManifestLoader()
        {
            manifestName       = PathsUtility.GetPlatformName();
            manifestRemotePath = PathsUtility.GetWWWPath() + "/" + manifestName;
#if UNITY_EDITOR
            manifestLocalPath = PathsUtility.GetABOutPath() + "Cache/" + manifestName;
#else
            manifestLocalPath = PathsUtility.GetABOutPath() + "/" + manifestName;
#endif
            manifest        = null;
            abReadManifest  = null;
            AssetBundleList = new List <string>();
            IsLoadCompleted = false;
        }
Exemplo n.º 3
0
 public ABDownloader(string abName, Hash128 abHash)
 {
     this.abName    = abName;
     this.abHash    = abHash;
     abDownLoadPath = PathsUtility.GetWWWPath() + "/" + this.abName;
 }