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

var characterSize : float

Description

The size of each character (This scales the whole text)

JavaScript
GetComponent(TextMesh).characterSize = 10;

using UnityEngine;
using System.Collections;

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

import UnityEngine
import System.Collections

class example(MonoBehaviour):

def Example():
GetComponent[of TextMesh]().characterSize = 10