UnityWebRequestAsyncOperation
class in UnityEngine.Networking
/
Inherits from:AsyncOperation
/
Implemented in:UnityEngine.UnityWebRequestModule
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 属性
| webRequest | Returns the associated UnityWebRequest that created the operation. |
Inherited Members 继承成员
Properties 属性
| allowSceneActivation | Allow Scenes to be activated as soon as it is ready. | ||
| isDone | Has the operation finished? (Read Only) | ||
| priority | Priority lets you tweak in which order async operation calls will be performed. | ||
| progress | What's the operation's progress. (Read Only) |
Events
| completed | Event that is invoked upon operation completion. An event handler that is registered in the same frame as the call that creates it will be invoked next frame, even if the operation is able to complete synchronously. If a handler is registered after the operation has completed and has already invoked the complete event, the handler will be called synchronously. |