1
0

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 3 years have passed since last update.

TextMeshProでアンダーラインが表示されない時の対処方法

Last updated at Posted at 2020-09-11

起きたこと

TextMeshProで、FontStyleにUnderlineを指定しても、アンダーラインが表示されませんでした。

原因と対処法

TextMeshProではアンダーラインを表示するために、_(アンダースコア)を使っているため、生成したフォントアトラスに_が含まれていないとアンダーラインを表示できません。

Window>Text Mesh Pro>Font Asset Creator>Custom Character List_を追加してからフォントアトラスを生成すると解決しました。

参考文献

TextMesh Pro - TMP Fallback font underline bug - Unity Forum

1
0
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
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?