var tabSize : float
Description
How much space will be inserted for a tab '\t' character. This is a multiplum of the 'spacebar' character offset
GetComponent(TextMesh).tabSize = 5;
using UnityEngine;
using System.Collections;
public class example :
MonoBehaviour {
void Awake() {
GetComponent<TextMesh>().tabSize = 5;
}
}
import UnityEngine
import System.Collections
class example(
MonoBehaviour):
def
Awake():
GetComponent[of TextMesh]().tabSize = 5