Documentation

Unity Engine

Download Unity

Unity Engine

WaitForCompletion()

Synchronously waits for the operation to complete.
Read time 1 minuteLast updated 5 hours ago

Definition

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.