unity NGUI Tutorial Tools

本文介绍了NGUI中的两个关键工具:图册编辑器和字体编辑器。图册编辑器能够从纹理创建图册,显著减少绘制调用;字体编辑器则用于生成和导入位图字体,并可选择性地将其添加到图册中,实现字体与图像精灵的统一绘制。
NGUI comes with a variety of tools to help your development. The most important two are the Atlas Maker and the Font Maker.

Atlas Maker makes it possible to create atlases from textures. An atlas is a collection of images (known as sprites) that makes it possible to significantly reduce draw calls by working with the same texture.

Font Maker is the tool that can be used to generate and import bitmap fonts, also optionally adding them to the texture atlas. When both fonts and sprites are using the same atlas, they can be drawn using a single draw call, even if you have 100 of them on the screen.

Both of these tools (and a few others!) can be accessed via the NGUI menu up top: NGUI -> Open -> Atlas Maker for example.

And speaking of examples, NGUI comes with quite a few of them. You should have a look at them next!

And remember, if you ever get stuck or have a question, NGUI menu ->Help. :)


//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////


同时伴随着各种各样的工具来帮助您的开发。最重要的两个是图册编辑器和字体编辑器。


图册编辑器可以从纹理创建地图册。图册是图像的集合(称为精灵),以使得它可以显著减少绘制调用通过使用相同的纹理。


字体编辑器工具可用于生成和导入位图字体,也可以将它们添加到图册纹理当字体和精灵都是使用相同的图册,他们可以使用一个图册调用,即使你有100个在屏幕上。


这两个工具(和其他几个!)可以通过访问菜单上面: NGUI -> Open -> Atlas Maker for example


说到的例子,同时仍有不少。你应该看一看他们下一个!


记住,如果你困或, 菜单- >帮助。:)

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值