# TryGetGlyphIndex(uint, out uint)

> Try to get the glyph index for the character at the given Unicode value.

## Definition

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

## TryGetGlyphIndex(uint, uint)

```csharp
public static bool TryGetGlyphIndex(uint unicode, out uint glyphIndex)
```

### Parameters

**** (\[uint]\(https\://learn.microsoft.com/dotnet/api/system.uint32)): The unicode value of the character for which to lookup the glyph index.**** (\[uint]\(https\://learn.microsoft.com/dotnet/api/system.uint32)): The index of the glyph for the given unicode character or the .notdef glyph (index 0) if no glyph is available for the given Unicode value.

### Returns

| Type                                                          | Description                                          |
| ------------------------------------------------------------- | ---------------------------------------------------- |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) | Returns true if the given unicode has a glyph index. |
