Version: 2017.3
public Font font ;

説明

使用する Font

関連項目: text mesh component.

using UnityEngine;
using System.Collections;

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