TextMesh.font
Declaration
public Font font;Описание
Используемые Font.
Дополнительные ресурсы: текстовый компонент сетки.
using UnityEngine;
public class Example : MonoBehaviour { void Start() { // Set the text of the attached Text mesh Font newFont = new Font(); GetComponent<TextMesh>().font = newFont; } }