# Equals

> Test two SceneHandle for equality.

## Definition

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

## Equals(Object)

Test two SceneHandle for equality.

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

### Parameters

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

### Returns

| Type                                                          | Description                     |
| ------------------------------------------------------------- | ------------------------------- |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) | True if equal, false otherwise. |

## Equals(SceneHandle)

Test two SceneHandle for equality.

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

### Parameters

**** (\[SceneHandle]\(/engine/6000.6/script-reference/unityengine/scenemanagement/scenehandle)): The SceneHandle to compare with.

### Returns

| Type                                                          | Description                     |
| ------------------------------------------------------------- | ------------------------------- |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) | True if equal, false otherwise. |
