Book Image

Mastering Unity 5.x

By : Alan Thorn
Book Image

Mastering Unity 5.x

By: Alan Thorn

Overview of this book

Mastering Unity 5.x is for developers wishing to optimize the features of Unity 5.x. With an in-depth focus on a practical project, learn all about Unity architecture and impressive animation techniques. With this book, produce fun games with confidence.
Table of Contents (16 chapters)
Mastering Unity 5.x
Credits
About the Author
Acknowledgment
About the Reviewer
www.PacktPub.com
Customer Feedback
Preface

Navigator GUI


Let's now start work on the UI for Dead Keys, which covers a broad range of important subjects. As mentioned, the main interesting area of the UI here is the forward pointing UI arrow (navigator button), which should appear after all zombies are killed and allows the player to continue on their journey through the environment, moving to the next ambush point. As we create this, we'll explore many interesting UI tips and tricks.

Navigator button

First, let's create a new empty object to contain all UI elements, including the navigator button to be added in this section, and the remaining elements for later. In addition, add this object to the UI layer in the scene using the object Inspector. In general, strive to keep all UI elements on the UI layer, or another dedicated layer that's separate from the non-UI objects. Doing this gives the power and flexibility to easily show and hide UI elements, as well as delegate their rendering to specific cameras.

Assigning an object to...