---
title: GetHashCode()
product: Unity Editor
version: '7000.0'
latest_version: '7000.0'
status: This page documents version 7000.0. The latest version is 7000.0.
canonical: https://docs.unity.com/en-us/engine/7000.0/script-reference/unityengine/animations/genericbinding/gethashcode
latest_url: https://docs.unity.com/en-us/engine/7000.0/script-reference/unityengine/animations/genericbinding/gethashcode.md
last_updated: 2026-11-07
generated_at: 2026-11-11T06:25:50.661Z
locale: en-us
---

# GetHashCode()

> Returns a hash code for this GenericBinding.

## Definition

* **Type:** Method
* **Namespace:** [UnityEngine.Animations](/engine/7000.0/script-reference/unityengine/animations.md)
* **Assembly:** UnityEngine.AnimationModule

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

### Returns

| Type                                                       | Description                                                                                                                                                      |
| ---------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [int](https://learn.microsoft.com/dotnet/api/system.int32) | A hash code computed from all the values that [GenericBinding.Equals](/engine/7000.0/script-reference/unityengine/animations/genericbinding/equals.md) compares. |
