Book Image

Learning NGUI for Unity

By : Charles Bernardoff (EURO)
Book Image

Learning NGUI for Unity

By: Charles Bernardoff (EURO)

Overview of this book

Table of Contents (17 chapters)
Learning NGUI for Unity
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Chapter 2. Creating NGUI Widgets

In this second chapter, we will create one of each important NGUI widget and review their respective parameters. More importantly, we will configure them to gradually build a new options page using the following widgets:

  • Buttons to navigate through pages, confirm, and close windows

  • Checkboxes to enable or disable a game's sound

  • Popup Lists to select the game and subtitle language

  • An input field to enter a nickname

  • Siders to adjust the volume

We will also talk about control prefabs and the Prefab Toolbar; they will both help us to create preconfigured widgets quickly and easily.