# GetHashCode()

> Returns a unique hash code computed from the name and texture of this SecondarySpriteTexture object.

## Definition

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

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

### Returns

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