TextMesh.font 字体

var font : Font

Description描述

The Font used.

文本使用的字体。

// Set the text of the attached Text mesh
//设置附加到文本网格的字体

var newFont : Font;
GetComponent(TextMesh).font = newFont;
最后修改:2011年1月19日 Wednesday 16:57

本脚本参考基于Unity 3.4.1f5

英文部分版权属©Unity公司所有,中文部分© Unity圣典 版权所有,未经许可,严禁转载 。