TextMesh.tabSize Manual     Reference     Scripting  
Scripting > Runtime Classes > TextMesh
TextMesh.tabSize

var tabSize : float

Description

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

JavaScripts
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