---
title: Equals
product: Unity Editor
version: '7000.0'
latest_version: '7000.0'
status: This page documents version 7000.0. The latest version is 7000.0.
canonical: https://docs.unity.com/en-us/engine/7000.0/script-reference/unityengine/animations/genericbinding/equals
latest_url: https://docs.unity.com/en-us/engine/7000.0/script-reference/unityengine/animations/genericbinding/equals.md
last_updated: 2026-11-07
generated_at: 2026-11-10T11:18:36.350Z
locale: en-us
---

# Equals

> Determines whether this GenericBinding targets the same property as another object.

## Definition

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

## Equals(Object)

Determines whether this GenericBinding targets the same property as another object.

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

### Parameters

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

### Returns

| Type                                                          | Description                                                                             |
| ------------------------------------------------------------- | --------------------------------------------------------------------------------------- |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) | True if the object is a GenericBinding that targets the same property; false otherwise. |

## Equals(GenericBinding)

Determines whether this GenericBinding targets the same property as another GenericBinding.

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

### Parameters

**** (\[GenericBinding]\(/engine/7000.0/script-reference/unityengine/animations/genericbinding)): The GenericBinding to compare with.

### Returns

| Type                                                          | Description                                                                                                                         |
| ------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------- |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) | True if both bindings have the same transform path, property name, script, component type, custom type, and flags; false otherwise. |
