# GetCharactersArray(FontAsset)

> Function which returns an array that contains all the characters from a font asset.

## Definition

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

```csharp
public static int[] GetCharactersArray(FontAsset fontAsset)
```

### Parameters

**** (\[FontAsset]\(/engine/6000.7/script-reference/unityengine/textcore/text/fontasset)):&#x20;

### Returns

| Type                                                           | Description |
| -------------------------------------------------------------- | ----------- |
| [int\[\]](https://learn.microsoft.com/dotnet/api/system.int32) |             |
