制作ugui BMFont
unity 中 ugui 使用美术字 BMFont,使用 BitmapFontGenerator 软件导出 美术字图集 及 uv 对应坐标文件 .fnt,然后再根据 .fnt 生成 unity 中使用的 .fontsettings 文件 及 材质
Bitmap Font Generator(字体制作工具) 下载地址:http://dl.pconline.com.cn/download/463149-1.html
使用 Bitmap Font Generator 制作 美术字图集 和 uv 对应坐标文件 .fnt,参考这边文章 http://www.tk4479.net/song_hui_xiang/article/details/44022419
输出格式时选择 xml 格式,因为下一步使用脚本生成 .fontsettings 文件 使用读 xml 格式的
脚本生成 .fontsettings 文件,使用这篇文章脚本即可生成 https://tedsieblog.wordpress.com/category/unity-ugui/