# Equals

> Indicates whether this instance and a specified object are equal.

## Definition

* **Type:** Method
* **Namespace:** [Unity.Properties](/engine/6000.0/script-reference/unity/properties.md)
* **Assembly:** UnityEngine.PropertiesModule

## Equals(PropertyPath)

Indicates whether this instance and a specified object are equal.

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

### Parameters

**** (\[PropertyPath]\(/engine/6000.0/script-reference/unity/properties/propertypath)): The object to compare with the current instance.

### Returns

| Type                                                          | Description                                                                                         |
| ------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) | `true` if obj and this instance are the same type and represent the same value; otherwise, `false`. |

## Equals(Object)

Indicates whether this instance and a specified object are equal.

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

### Parameters

**** (\[Object]\(https\://learn.microsoft.com/dotnet/api/system.object)):&#x20;

### Returns

| Type                                                          | Description                                                                                         |
| ------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) | `true` if obj and this instance are the same type and represent the same value; otherwise, `false`. |
