# CleanUp()

> Unity calls this function when the asset has been created allowing user to clean any allocated resources.

## Definition

* **Type:** Method
* **Namespace:** [UnityEditor.ProjectWindowCallback](/engine/6000.5/script-reference/unityeditor/projectwindowcallback.md)
* **Assembly:** UnityEditor.CoreModule

```csharp
public virtual void CleanUp()
```
