Version: 2023.1
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.