DownloadAssetPackAsyncOperation
Represents an asynchronous Android asset pack download operation. AndroidAssetPacks.DownloadAssetPackAsync returns an instance of this class.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Class
- Namespace: UnityEngine.Android
- Assembly: UnityEngine.AndroidJNIModule
- Inherits from: CustomYieldInstruction
- Implements: IEnumerator
public class DownloadAssetPackAsyncOperation : CustomYieldInstruction, IEnumerator
Remarks
You can yield until the operation completes, or manually check whether it's done using isDone or keepWaiting properties. You can also track the progress of the operation using the progress property. Additional Resources: AndroidAssetPacks.DownloadAssetPackAsync.
Properties
Property | Description |
|---|---|
| downloadedAssetPacks | Gets the names of Android asset packs downloaded by this operation. |
| downloadFailedAssetPacks | Gets the names of Android asset packs that failed to download. |
| isDone | Checks if the operation is finished. |
| keepWaiting | Checks if the operation is still running. |
| progress | Gets the progress of the operation. |