Legacy Documentation: Version 4.6(go to latest)
Language: English
  • C#
  • JS
  • Boo

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

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).

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)

Inherited members