# DestroyFontEngine()

> Destroy and unload resources used by the Font Engine.

## Definition

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

```csharp
public static FontEngineError DestroyFontEngine()
```

### Returns

| Type                                                                                                | Description                                                                           |
| --------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- |
| [FontEngineError](/engine/6000.5/script-reference/unityengine/textcore/lowlevel/fontengineerror.md) | A value of zero (0) if the Font Engine and used resources were successfully released. |
