Version: 2018.2
public Font font ;

説明

使用する Font

関連項目: 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; } }