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)

Summary


In this chapter, we first learned how to set up a draggable panel. Then, we created and configured a drag-and-drop system to select which power we want using the UIDrag Object component and the custom code.

Remember to use the UIGrid component often to automatically align objects—they are very powerful when used wisely with UIAnchor and UIStretch components.

Using Unity's animations and NGUI's Tweens are no longer a secret for us—we used them to create a smooth apparition for these powers, and we combined them with Clipping to hide/show our Options menu.

Finally, we created scrollable text and learned how to use the Localization System to set up multiple languages.

We can now take a look at using C# with NGUI in the next chapter and see what we can accomplish using code.