ContentFileUnloadHandle
A handle that can be used to track the progress of an unload operation. This is returned from ContentFile.UnloadAsync.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Struct
- Namespace: Unity.Loading
- Assembly: UnityEngine.ContentLoadModule
public struct ContentFileUnloadHandle
Properties
Property | Description |
|---|---|
| IsCompleted | Returns true if the unload operation has completed. |
Methods
Method | Description |
|---|---|
| WaitForCompletion | Blocks on the main thread until the unload operation completes. This function can be slow and so should be used carefully to avoid frame rate stuttering. |