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 is handling UI in a much harder way than necessary.
The following topics will be covered in this chapter:
- UI Canvas
- UI Text and Images
- UI Layout and Rect Transform
- UI Buttons