用户工具

站点工具


侧边栏



Unity3D中文文档

script:unityengine:classes:asyncoperation:asyncoperation

AsyncOperation 异步操作

Namespace: UnityEngine

Inherits from: YieldInstruction

Description 描述

Asynchronous operation coroutine.

异步操作协同程序。

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

你可以yield直到异步操作继续,或手动检查它是完成的(isDone)或是进度中(progress)。

See Also: Application.LoadLevelAsync, Application.LoadLevelAdditiveAsync, AssetBundle.LoadAsync.

Variables 变量

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)
操作的进度是多少?(只读)
script/unityengine/classes/asyncoperation/asyncoperation.txt · 最后更改: 2016/08/02 05:37 (外部编辑)