Book Image

NGUI for Unity

By : Charles Bernardoff (EURO)
Book Image

NGUI for Unity

By: Charles Bernardoff (EURO)

Overview of this book

Table of Contents (14 chapters)

Creating a new Atlas


Let's create our own Atlas to hold our sprites and new fonts. First, open our Menu scene. In order to do this, we will use the Atlas Maker wizard.

Navigate to NGUI | Atlas Maker, or press Alt + Shift + M to bring up the following screen:

To create the Atlas, perform the following steps:

  1. In the first field, type in the new atlas' name as Game.

  2. Click on the green Create button.

Our new Game atlas has been created, and it is selected in the Atlas Maker wizard. It is empty for now. Let's change this.

Note

You may have as many Atlases as you want, but remember that rendering multiple Atlases simultaneously will increase the number of draw calls.