Table of Contents

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

AssetBundleRuntimeInfo

downloadedSize

Gets or sets the amount of data (in bytes) that has been downloaded so far.

public long downloadedSize

Field Value

long

requestAsync

Gets or sets the asynchronous web request handling the download.

public WebRequestAsync requestAsync

Field Value

WebRequestAsync

state

Gets or sets the current state of the download.

public AssetBundleDownloadInfo.EDownloadState state

Field Value

AssetBundleDownloadInfo.EDownloadState

Properties

IsDownloadComplete

Gets a value indicating whether the download is complete.

public bool IsDownloadComplete { get; }

Property Value

bool

Methods

Complete(EDownloadState)

Marks the download as complete with the specified state.

public void Complete(AssetBundleDownloadInfo.EDownloadState state)

Parameters

state AssetBundleDownloadInfo.EDownloadState

The final state of the download.