Version: 2020.1
言語: 日本語

AsyncOperation

class in UnityEngine

/

継承:YieldInstruction

マニュアルに切り替える

説明

非同期動作のコルーチンで使用します。

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

See Also: SceneManager.LoadSceneAsync, AssetBundle.LoadAssetAsync, Resources.LoadAsync.

変数

allowSceneActivationAllow Scenes to be activated as soon as it is ready.
isDone動作が終了したか確認します(読み取り専用)
priority非同期で読み込む際の優先順位を設定します。
progress進捗状況を表示します(読み取り専用)

Events

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

継承メンバー

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