# Compare(Glyph)

> Compares two glyphs to determine if they have the same values.

## Definition

* **Type:** Method
* **Namespace:** [UnityEngine.TextCore](/engine/6000.7/script-reference/unityengine/textcore.md)
* **Assembly:** UnityEngine.TextCoreFontEngineModule

```csharp
public bool Compare(Glyph other)
```

### Parameters

**** (\[Glyph]\(/engine/6000.7/script-reference/unityengine/textcore/glyph)): The glyph to compare with.

### Returns

| Type                                                          | Description                                                    |
| ------------------------------------------------------------- | -------------------------------------------------------------- |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) | Returns true if the glyphs have the same values. False if not. |
