Legacy Documentation: Version 2018.2 (Go to current version)
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; } }

Did you find this page useful? Please give it a rating: