Version: 2017.3
public float tabSize ;

描述

为制表符“\t”字符插入的空格数。这是“空格键”字符偏移的倍数。

using UnityEngine;
using System.Collections;

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