Version: 2022.3
언어: 한국어
public Font font ;

설명

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 = new Font(); GetComponent<TextMesh>().font = newFont; } }