ドキュメント

Unity Engine

Unity Engine

WaitForCompletion()

Synchronously waits for the operation to complete.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.AssetBundleModule
public void WaitForCompletion()

Remarks

Call this function if you need to wait on the main thread until the AssetBundleUnloadOperation completes. When you call
WaitForCompletion
, the Unity runtime also waits for all other pending asynchronous operations to complete.