Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#

TextMesh.offsetZ

Switch to Manual
public float offsetZ;

Description

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

using UnityEngine;

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