Version: 2018.3 (switch to 2019.1)
LanguageEnglish
  • C#

TextMesh.tabSize

Switch to Manual
public float tabSize;

Description

How much space will be inserted for a tab '\t' character. This is a multiplum of the 'spacebar' character offset.

using UnityEngine;

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

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