Versions with this page:
Versions without this page:
The Font used.
See Also: text mesh component.
using UnityEngine; using System.Collections;public class ExampleClass : MonoBehaviour { public Font newFont; void Example() { GetComponent<TextMesh>().font = newFont; } }