TextMesh.font

切换到手册
public 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; } }

Did you find this page useful? Please give it a rating: