Version: 2017.3
public Font font ;

설명

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; } }