# GetHashCode()

> Retrieves a hash code based on this instance.

## Definition

* **Type:** Method
* **Namespace:** [UnityEngine.Audio](/engine/6000.5/script-reference/unityengine/audio.md)
* **Assembly:** UnityEngine.AudioModule

```csharp
public override int GetHashCode()
```

### Returns

| Type                                                       | Description    |
| ---------------------------------------------------------- | -------------- |
| [int](https://learn.microsoft.com/dotnet/api/system.int32) | The hash code. |
