In this chapter, we will create our first sprite widget and understand how it works. Then we will create one sample of each important widget template, and analyze their corresponding parameters so that you know how to create and configure them.
At the end of this chapter, we will have a functional main menu with most of NGUI's widgets.
We will create our first sprite widget to display our main menu's background window. In order to do that easily, NGUI has a Widget Wizard with a few templates for us.
The Widget Wizard can be opened by navigating to NGUI | Open | Widget Wizard. It will look like the following screenshot:
As you can see in the previous screenshot, to create a widget, ...