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

JavaScript
GetComponent(TextMesh).tabSize = 5;

using UnityEngine;
using System.Collections;

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

import UnityEngine
import System.Collections

class example(MonoBehaviour):

def Example():
GetComponent[of TextMesh]().tabSize = 5