Skip to content

AssetDownloader

ClassAssetInventoryAssetInventory.Editor
public sealed class AssetDownloader

No description is available for this type.

public DateTime lastRefresh

No description is available for this member.

Returns

System.DateTime — No return description is available.

public AssetDownloader(AssetInfo asset)

No description is available for this member.

Parameters

Name Type Description
asset AssetInventory.AssetInfo

public AssetInfo GetAsset()

No description is available for this member.

Returns

AssetInventory.AssetInfo — No return description is available.

public void SetAsset(AssetInfo asset)

No description is available for this member.

Parameters

Name Type Description
asset AssetInventory.AssetInfo
public bool IsDownloadSupported()

No description is available for this member.

Returns

System.Boolean — No return description is available.

public AssetDownloadState GetState()

No description is available for this member.

Returns

AssetInventory.AssetDownloadState — No return description is available.

public void RefreshState(bool force = false)

No description is available for this member.

Parameters

Name Type Description
force System.Boolean
public void Download(bool expectFullDownload)

No description is available for this member.

Parameters

Name Type Description
expectFullDownload System.Boolean
public void PauseDownload(bool fullAbort)

No description is available for this member.

Parameters

Name Type Description
fullAbort System.Boolean
public bool IsUnityDownloading()

No description is available for this member.

Returns

System.Boolean — No return description is available.

public bool IsDirty { get; set; }

Whether external changes (FileSystemWatcher) have invalidated the cached state.

Returns

System.Boolean — No return description is available.

public bool IsStable { get; }

Returns true if this asset is in a stable state that doesn’t need active polling unless explicitly dirtied by a file system event.

Returns

System.Boolean — No return description is available.