文档

Unity Engine

Unity Engine

ConfirmationDialogAsyncOperation

Represents an asynchronous operation that requests the user for consent to download Android asset packs.
阅读时间1 分钟最后更新于 1 个月前

Definition

public class ConfirmationDialogAsyncOperation : CustomYieldInstruction, IEnumerator

Remarks

AndroidAssetPacks.ShowConfirmationDialogAsync returns an instance of this class. You can yield until the operation completes, or manually check whether it's completed using
isDone
or
keepWaiting
properties.

Properties

Property

Description

isDoneIndicates whether the operation has completed.
keepWaitingIndicates whether the operation is still in progress.
resultIndicates whether the end user gave their consent to download Android asset packs.