# Equals(GlobalObjectId)

> Checks if this unique object identifier and another are equal.

## Definition

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

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

### Parameters

**** (\[GlobalObjectId]\(/engine/6000.5/script-reference/unityeditor/globalobjectid)): The other GlobalObjectId to compare with this instance.

### Returns

| Type                                                          | Description                                                                                             |
| ------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) | Returns `true` if the two instances of GlobalObjectId are value equivalent. Otherwise, returns `false`. |

### Remarks

This method performs a value equality check. It returns true if the values of every property on this `GlobalObjectId` match the values of the equivalent properties on the `GlobalObjectId` supplied as a parameter. Any two instances of `GlobalObjectId` that are value equivalent must by definition identify the same object.

Additional Resources: [GlobalObjectId.CompareTo](/engine/6000.5/script-reference/unityeditor/globalobjectid/compareto.md)
