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)

NGUI components


In Chapter 2, Creating Widgets, we added the UIStretch and UIAnchor components to our widgets, and also the Load Level On Click component. There are many more components, and the purpose of this chapter is to discuss these components. We will use the most important ones in this chapter. It is possible to add a component to any kind of widget—considering it is logical of course.

This component-oriented structure makes NGUI extremely flexible and modular. We will start by making our main menu a draggable window.