# Equals

> Evaluates if a vector and obejct are equal to each other.

## Definition

* **Type:** Method
* **Namespace:** [UnityEngine](/engine/6000.0/script-reference/unityengine.md)
* **Assembly:** UnityEngine.CoreModule

## Equals(Object)

Evaluates if a vector and obejct are equal to each other.

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

### 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 object is equal to the vector. |

## Equals(Vector2Int)

Evaluates if two vectors are equal to each other.

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

### Parameters

**** (\[Vector2Int]\(/engine/6000.0/script-reference/unityengine/vector2int)): The vector to compare.

### Returns

| Type                                                          | Description                    |
| ------------------------------------------------------------- | ------------------------------ |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) | True if the vectors are equal. |
