Book Image

Unity3D UI Essentials

By : Simon Jackson
Book Image

Unity3D UI Essentials

By: Simon Jackson

Overview of this book

<p>Unity is a powerful cross-platform development engine that provides rich framework to create 2D and 3D apps or games. Through Unity3D, users are able take master the complexities of game development with ease, including animations, physics, renderings, shaders, scripting and now, Unity have released a new and advanced system to cope with the UI demands for modern applications and games.</p> <p>Unity 3D UI Essentials is a complete walk-through of the new UI system in Unity V4 and beyond (including Unity 5). This fast-paced practical tutorial provides you with in depth details of the new UI controls and layouts that can be used to create stunning and multiresolution UI.</p> <p>Venture forth into the highly componentized and advanced UI system, covering new features such as responsive designs and layouts. Also you get to deep-dive into the scripting side of the UI system as Unity has made the entire framework open source, giving free access to the source code of the new UI system to all developers.</p> <p>So get ready for a wild ride into the new Unity3D UI system and set your course for awesome!</p>
Table of Contents (14 chapters)

Chapter 2. Building Layouts

As we start to look deep into the crystal ball, we gaze upon our first sights of the new Unity UI system. In a breath of fresh air, Unity UI has appeared to aid the weary UI developer, who just wants their UI their own way.

We start with the beginnings of Unity UI and the foundations that it builds upon, most notably the Sprite 2D system that was introduced with Unity 4.3. However, Unity UI takes these simple beginnings and takes a bold leap forward. Almost every underlying part of the new sprite system has been improved and stretched to build something that is sensible and just works. In those areas, where it does not stretch enough, there is a base framework for extensibility; don't like it the way Unity has put it together, then do it your own way.

The following is the list of topics that will be covered in this chapter:

  • The new Rect Transform

  • The Unity UI canvas

  • Layout and grouping systems

  • Unity Events and the new EventSystem

Note

This chapter focuses on the fundamental...