Version: Unity 6.6 Beta (6000.6)
LanguageEnglish
  • C#

UnityWebRequestAsyncOperation

class in UnityEngine.Networking

/

Inherits from:AsyncOperation

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Description

Asynchronous operation object returned from UnityWebRequest.SendWebRequest().

You can yield until it continues, register an event handler with AsyncOperation.completed, or manually check whether it's done (AsyncOperation.isDone) or progress (AsyncOperation.progress).

Properties

Property Description
webRequestReturns the associated UnityWebRequest that created the operation.

Inherited Members

Properties

PropertyDescription
allowSceneActivationAllows a scene to be activated as soon as it's ready.
isDoneWhen the value is true, then the operation has finished. Otherwise, the operation is in progress. (Read Only)
priorityInteger representing the execution order priority of this AsyncOperation.
progressA floating point value representing the operation's current state of progress toward completion, where 1.0 represents completion. (Read Only)

Events

EventDescription
completedRaised when this AsyncOperation operation has completed.