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 Example() {
GetComponent<TextMesh>().tabSize = 5;
}
}
import UnityEngine
import System.Collections
class example(MonoBehaviour):
def Example():
GetComponent[of TextMesh]().tabSize = 5