Version: 2017.3
public Font font ;

Descripción

El Font utilizado.

See Also: text mesh component.

using UnityEngine;
using System.Collections;

public class ExampleClass : MonoBehaviour { public Font newFont; void Example() { GetComponent<TextMesh>().font = newFont; } }