Class AssetBundleDownloadInfo.DownloadInfo
- Namespace
- TAssetBundle
- Assembly
- TAssetBundle.dll
Class for storing individual AssetBundle download information.
public class AssetBundleDownloadInfo.DownloadInfo
- Inheritance
-
AssetBundleDownloadInfo.DownloadInfo
- Inherited Members
Fields
assetBundleInfo
Gets or sets the runtime information of the AssetBundle being downloaded.
public AssetBundleRuntimeInfo assetBundleInfo
Field Value
downloadedSize
Gets or sets the amount of data (in bytes) that has been downloaded so far.
public long downloadedSize
Field Value
requestAsync
Gets or sets the asynchronous web request handling the download.
public WebRequestAsync requestAsync
Field Value
state
Gets or sets the current state of the download.
public AssetBundleDownloadInfo.EDownloadState state
Field Value
Properties
IsDownloadComplete
Gets a value indicating whether the download is complete.
public bool IsDownloadComplete { get; }
Property Value
Methods
Complete(EDownloadState)
Marks the download as complete with the specified state.
public void Complete(AssetBundleDownloadInfo.EDownloadState state)
Parameters
state
AssetBundleDownloadInfo.EDownloadStateThe final state of the download.