[英]Cannot view TextMeshPro (TMP) text in scene view or game view
I believe the issue is that you have no font asset assigned.我认为问题在于您没有分配字体资产。 Without a font asset assigned there are no glyphs for the component to reference when rendering your message.如果没有分配字体资产,则在呈现您的消息时,组件将不会引用任何字形。
Either drag and drop a TMP_Font
asset from your editor, or click on the little target symbol which will bring up an editor window of all types TMP_Font
, then assign one of the fonts that pop up.从您的编辑器中拖放TMP_Font
资产,或者单击小目标符号,这将调出所有类型TMP_Font
的编辑器 window ,然后分配弹出的 fonts 之一。 If you are still having issues after assigning a font let me know.如果您在分配字体后仍然遇到问题,请告诉我。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.