Chapter 5.  Working with Unitys UI System

The next few chapters are going to require us to create a User Interface (UI). However, before we begin with that, I want to discuss the various features of the Unity UI system. This chapter will provide an overview of each of the elements available with the UI system and we will utilize them in the future chapters.

The UI system was implemented in Unity 4.6 and has made the incorporation of a UI system significantly easier than it was in the past. This UI system has essentially made any of the old GUI functions a thing of the past. These functions are still useful for procedurally generating a UI, but, for the most part, if you see a reference to GUI functions, it was written prior to version 4.6 and ...

Get Mastering Unity 2D Game Development - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.