Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


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

IsCompletedReturns true if the unload operation has completed.

Methods

Method

Description

WaitForCompletionBlocks 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.