您的位置:首页 > 移动开发 > Unity3D

unity NGUI Tutorial Tools

2015-12-04 14:41 627 查看
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。

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

记住,如果你困或, 菜单- >帮助。:)
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: