# Equals

> Returns true if the ID in the argument equals this view ID.

## Definition

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

## Equals(BatchPackedCullingViewID)

Returns true if the ID in the argument equals this view ID.

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

### Parameters

**** (\[BatchPackedCullingViewID]\(/engine/6000.7/script-reference/unityengine/rendering/batchpackedcullingviewid)):&#x20;

### Returns

| Type                                                          | Description |
| ------------------------------------------------------------- | ----------- |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) |             |

## Equals(Object)

Returns true if the ID in the argument equals this view ID.

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

### Parameters

**** (\[Object]\(https\://learn.microsoft.com/dotnet/api/system.object)):&#x20;

### Returns

| Type                                                          | Description |
| ------------------------------------------------------------- | ----------- |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) |             |
