Version: 2017.3
public float offsetZ ;

Description

How far should the text be offset from the transform.position.z when drawing.

using UnityEngine;
using System.Collections;

public class ExampleClass : MonoBehaviour { void Example() { GetComponent<TextMesh>().offsetZ = 5; } }