Versions with this page:
Versions without this page:
The Font used.
See Also: text mesh component.
using UnityEngine;public class Example : MonoBehaviour { void Start() { // Set the text of the attached Text mesh Font newFont; GetComponent<TextMesh>().font = newFont; } }