The font size to use (for dynamic fonts).
GetComponent(TextMesh).fontSize = 12;
using UnityEngine; using System.Collections; public class Example : MonoBehaviour { void Example() { GetComponent<TextMesh>().fontSize = 12; } }
import UnityEngine import System.Collections public class Example(MonoBehaviour): def Example() as void: GetComponent[of TextMesh]().fontSize = 12