# Compare(FaceInfo)

> Compares the information in this FaceInfo structure with the information in the given FaceInfo structure to determine whether they have the same values.

## Definition

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

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

### Parameters

**** (\[FaceInfo]\(/engine/6000.6/script-reference/unityengine/textcore/faceinfo)): The FaceInfo structure to compare this FaceInfo structure with.

### Returns

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