# UnloadAsset(Object)

> Override for customizing the behavior of the Unload function.

## Definition

* **Type:** Method
* **Namespace:** [UnityEngine](/engine/6000.0/script-reference/unityengine.md)
* **Assembly:** UnityEngine.CoreModule

```csharp
protected virtual void UnloadAsset(Object assetToUnload)
```

### Parameters

**** (\[Object]\(/engine/6000.0/script-reference/unityengine/object)):&#x20;
