# text

> The specified input text to display.

## Definition

* **Type:** Property
* **Namespace:** [UnityEngine](/engine/6000.5/script-reference/unityengine.md)
* **Assembly:** UnityEngine.TextRenderingModule

```csharp
public string text { get; set; }
```

### Examples

```csharp
using UnityEngine;

public class Example : MonoBehaviour
{
    void Start()
    {
        // Set the text of the attached Text mesh
        GetComponent<TextMesh>().text = "Hello World";
    }
}
```
