# Equals

> Returns true if the Descriptor is equal to a given Descriptor, false otherwise.

## Definition

* **Type:** Method
* **Namespace:** [Unity.ProjectAuditor.Editor](/engine/6000.7/script-reference/unity/projectauditor/editor.md)
* **Assembly:** UnityEditor

## Equals(Descriptor)

Returns true if the Descriptor is equal to a given Descriptor, false otherwise.

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

### Parameters

**** (\[Descriptor]\(/engine/6000.7/script-reference/unity/projectauditor/editor/descriptor)): The Descriptor to compare equality with.

### Returns

| Type                                                          | Description                            |
| ------------------------------------------------------------- | -------------------------------------- |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) | The result of the equality comparison. |

## Equals(Object)

Returns true if the Descriptor is equal to a given object, false otherwise.

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

### Parameters

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

### Returns

| Type                                                          | Description                            |
| ------------------------------------------------------------- | -------------------------------------- |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) | The result of the equality comparison. |
