---
title: Center
product: Unity Editor
version: '7000.0'
latest_version: '7000.0'
status: This page documents version 7000.0. The latest version is 7000.0.
canonical: https://docs.unity.com/en-us/engine/7000.0/script-reference/unityengine/textcore/horizontalalignment/center
latest_url: https://docs.unity.com/en-us/engine/7000.0/script-reference/unityengine/textcore/horizontalalignment/center.md
last_updated: 2026-10-07
generated_at: 2026-11-11T03:05:46.198Z
locale: en-us
---

# Center

> Text is centered within the layout area.

## Definition

* **Type:** Field
* **Namespace:** [UnityEngine.TextCore](/engine/7000.0/script-reference/unityengine/textcore.md)
* **Assembly:** UnityEngine.TextCoreTextEngineModule

```csharp
Center = 1
```
