# Equals(object)

> Compares this SceneView.CameraMode object against a specified SceneView.CameraMode object.

## Definition

* **Type:** Method
* **Namespace:** [UnityEditor](/engine/6000.6/script-reference/unityeditor.md)
* **Assembly:** UnityEditor.CoreModule

## Equals(Object)

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

### Parameters

**** (\[Object]\(https\://learn.microsoft.com/dotnet/api/system.object)): The [SceneView.CameraMode](/engine/6000.6/script-reference/unityeditor/sceneview/cameramode.md) to compare.

### Returns

| Type                                                          | Description                                                                                                                                                 |
| ------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) | Returns true if the [SceneView.CameraMode](/engine/6000.6/script-reference/unityeditor/sceneview/cameramode.md) objects are equal. Returns false otherwise. |
