Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GetAssetPackStateAsyncOperation

Represents an asynchronous Android asset pack state request operation. AndroidAssetPacks.GetAssetPackStateAsync returns an instance of this class.
Read time 1 minuteLast updated 6 days ago

Definition

public class GetAssetPackStateAsyncOperation : CustomYieldInstruction, IEnumerator

Remarks

You can yield until the operation completes, or manually check whether it's done using isDone or keepWaiting properties.

Properties

Property

Description

isDoneChecks if the operation is finished.
keepWaitingChecks if the operation is still running.
sizeGets the total size in bytes of all Android asset packs that had their status checked by this operation.
statesGets the states of all Android asset packs that had their status checked by this operation.