WaitForCompletion()
Synchronously waits for the operation to complete.
Read time 1 minuteLast updated 6 days ago
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 , the Unity runtime also waits for all other pending asynchronous operations to complete.
WaitForCompletion