# Equals

> Two BlobAssetReferences are equal when they reference the same data.

## Definition

* **Type:** Method
* **Namespace:** [Unity.Entities](/engine/7000.0/script-reference/unity/entities.md)
* **Assembly:** UnityEngine.EntitiesModule

## Equals(BlobAssetReference\<T>)

Two BlobAssetReferences are equal when they reference the same data.

```csharp
public bool Equals(BlobAssetReference<T> other)
```

### Parameters

**** (\[BlobAssetReference\<T>]\(/engine/7000.0/script-reference/unity/entities/blobassetreference1)): The reference to compare to this one.

### Returns

| Type                                                          | Description                                                                                                                                                               |
| ------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) | True, if both references point to the same data or if both are [BlobAssetReference\<T>.Null](/engine/7000.0/script-reference/unity/entities/blobassetreference1/null.md). |

## Equals(Object)

Two BlobAssetReferences are equal when they reference the same data.

```csharp
public override bool Equals(object obj)
```

### Parameters

**** (\[Object]\(https\://learn.microsoft.com/dotnet/api/system.object)): The object to compare to this reference

### Returns

| Type                                                          | Description                                                                                                                                                                                                                                                       |
| ------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) | True, if the object is a BlobAssetReference instance that references to the same data as this one, or if both objects are [BlobAssetReference\<T>.Null](/engine/7000.0/script-reference/unity/entities/blobassetreference1/null.md) BlobAssetReference instances. |
