# Dispose

> Dispose the BuildUsageCache destroying all internal state.

## Definition

* **Type:** Method
* **Namespace:** [UnityEditor.Build.Content](/engine/6000.5/script-reference/unityeditor/build/content.md)
* **Assembly:** UnityEditor.CoreModule

## Dispose()

Dispose the BuildUsageCache destroying all internal state.

```csharp
public void Dispose()
```

### Remarks

Internal use only. See [BuildUsageCache](/engine/6000.5/script-reference/unityeditor/build/content/buildusagecache.md).

## Dispose(bool)

Dispose the BuildUsageCache destroying all internal state.

```csharp
protected virtual void Dispose(bool disposing)
```

### Parameters

**** (\[bool]\(https\://learn.microsoft.com/dotnet/api/system.boolean)):&#x20;

### Remarks

Internal use only. See [BuildUsageCache](/engine/6000.5/script-reference/unityeditor/build/content/buildusagecache.md).
