# GetEntry()

> Resolves the entry synchronously from already-loaded tables without triggering a load.

## Definition

* **Type:** Method
* **Namespace:** [Unity.Localization](/engine/6000.7/script-reference/unity/localization.md)
* **Assembly:** UnityEngine.LocalizationRuntimeModule

```csharp
public TEntry GetEntry()
```

### Returns

| Type | Description                                                         |
| ---- | ------------------------------------------------------------------- |
| T    | The resolved entry, or null when it is not available synchronously. |

### Remarks

The entry is resolved as `TEntry`. The result is null when the required table is not loaded, the reference is empty, no resource database is configured, or the entry cannot be found. Use [LocalizedEntry\<TEntry>.GetEntryAsync](/engine/6000.7/script-reference/unity/localization/localizedentry1/getentryasync.md) to load the table on demand instead. The resolved entry is cached and reused until the reference changes or the resolving locale changes.

Read an entry from an already-loaded table.

### Examples

```csharp
using Unity.Localization;
using UnityEngine;

namespace Unity.Localization.Samples
{
    public class LocalizedEntryGetEntryExample
    {
        public void Read()
        {
            var reference = new LocalizedString();
            reference.SetReference("My Strings", "HELLO");
            var entry = reference.GetEntry();
            if (entry != null)
                Debug.Log(entry.Value);
        }
    }
}
```
