4
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

unity > Text > arialフォントを Textにセットする > BottomLeftText.font = Resources.GetBuiltinResource (typeof(Font), "Arial.ttf") as Font;

Last updated at Posted at 2015-09-10
動作確認
Unity 5.2.0f3 on MacOS X 10.8.5

private Text BottomLeft
で宣言したTextのフォントをArialにしたい

参考

sample.cs
BottomLeftText.font = Resources.GetBuiltinResource (typeof(Font), "Arial.ttf") as Font;

もっと簡易な書き方はないのだろうか。

4
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
4
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?