文档

Unity Engine

Unity Engine

RequestToUseMobileDataAsyncOperation

Represents an asynchronous operation that requests to use mobile data to download Android asset packs.
阅读时间1 分钟最后更新于 1 个月前

Definition

public class RequestToUseMobileDataAsyncOperation : CustomYieldInstruction, IEnumerator

Remarks

AndroidAssetPacks.RequestToUseMobileDataAsync returns an instance of this class. 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.
resultIndicates whether the end user allowed the application to use mobile data to download Android asset packs.