Version: 2022.3
public void WaitForCompletion ();

描述

Synchronously waits for the operation to complete.

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.