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