# Equals

> Reports whether this EntityManager references the same manager as another instance.

## Definition

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

## Equals(EntityManager)

Reports whether this EntityManager references the same manager as another instance.

```csharp
public bool Equals(EntityManager other)
```

### Parameters

**** (\[EntityManager]\(/engine/7000.0/script-reference/unity/entities/entitymanager)): The object to compare.

### Returns

| Type                                                          | Description                                                                                           |
| ------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) | True, if the `other` parameter is an EntityManager instance that points to the same instance as this. |

## Equals(Object)

Reports whether this EntityManager references the same manager as another object.

```csharp
[ExcludeFromBurstCompatTesting("Takes managed object")]
public override bool Equals(object obj)
```

### Parameters

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

### Returns

| Type                                                          | Description                                                                                         |
| ------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) | True, if the `obj` parameter is an EntityManager instance that points to the same instance as this. |
