# Equals

> Checks if this BoundProperty equals a specified BoundProperty object.

## Definition

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

## Equals(Object)

Checks if this BoundProperty equals a specified BoundProperty object.

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

### Parameters

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

### Returns

| Type                                                          | Description                                                                                                                      |
| ------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) | Returns True if the Index and Version of this BoundProperty matches the specified BoundProperty object. Returns False otherwise. |

## Equals(BoundProperty)

Checks if this BoundProperty instance equals a specified BoundProperty instance.

```csharp
public bool Equals(BoundProperty boundProperty)
```

### Parameters

**** (\[BoundProperty]\(/engine/6000.5/script-reference/unityengine/animations/boundproperty)): The BoundProperty instance to compare.

### Returns

| Type                                                          | Description                                                                                                                                 |
| ------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------- |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) | Returns True if the Index and Version of this BoundProperty instance matches the specified BoundProperty instance. Returns False otherwise. |
