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; }
public void Start() { platformName = PathsUtility.GetPlatformName(); abOutPath = PathsUtility.GetABOutPath(); listener = new HttpListener(); listener.Prefixes.Add(settings.URL); listener.AuthenticationSchemes = AuthenticationSchemes.Anonymous; listener.Start(); listenerThread = new Thread(StartListener); listenerThread.Start(); }
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; }
public ABDownloader(string abName, Hash128 abHash) { this.abName = abName; this.abHash = abHash; abDownLoadPath = PathsUtility.GetWWWPath() + "/" + this.abName; }