Version: 2017.1

AsyncOperation

class in UnityEngine

/

Inherits from:YieldInstruction

Switch to Manual

Description

Asynchronous operation coroutine.

You can yield until asynchronous operation continues, or manually check whether it's done (isDone) or progress (progress).

See Also: SceneManager.LoadSceneAsync, AssetBundle.LoadAsync.

Variables

allowSceneActivationAllow scenes to be activated as soon as it is ready.
isDoneHas the operation finished? (Read Only)
priorityPriority lets you tweak in which order async operation calls will be performed.
progressWhat's the operation's progress. (Read Only)

Inherited members

Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961