文档

Unity Engine

Unity Engine

isDone

Checks if the operation is finished.
阅读时间1 分钟最后更新于 1 个月前

Definition

public bool isDone { get; }

Remarks

Returns
true
if the operation is finished. Otherwise, returns
false
. After this property returns
true
, you can check RequestToUseMobileDataAsyncOperation.result to see if the end user allowed the application to use mobile data. Read-only. Additional Resources: RequestToUseMobileDataAsyncOperation.keepWaiting, RequestToUseMobileDataAsyncOperation.result.