Documentation

Unity Engine

Unity Engine

UnloadAsset(Object)

Override for customizing the behavior of the Unload function.
Read time 1 minuteLast updated 2 months ago

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
protected virtual void UnloadAsset(Object assetToUnload)

Parameters

assetToUnload

The asset to unload.