unity中添加中文字体实现UI可视化设计
第一步:打开C盘下的Windows中的Fonts字体并选择一款喜欢的字体。路径为:C:WindowsFonts

第二步:将复制的字体放到unity项目下的Scenes文件下;

第三步:新建一个txt文档来存储中文字体(不存储在txt文档中的字体在unity中是显示不出来的),可仅存储自己的需要的中文,也可存储大量的中文字体;
第四步:把上一步创建好的字体库文件拖曳到材质material文件下;

第五步:打开unity中菜单栏下的Window-->TextMeshPro-->Font Asset Creator;

第六步:将Scenes下的字体MSYH拖曳到Source Font File中,Atlas Resolution代表清晰度,此项选择越大越好,将新建的字体材质拖曳到Characters File后,点击Generate Font Atlas生成后保存即可。

最后一步是在使用的地方引用字体即可。
