In this chapter, we will learn how to enhance our UI experience by using more advanced features, which are as follows:
Let's start by talking about NGUI components and their overall behavior.
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.
18.118.198.81