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)

Setting up for the big game


Yeah true! The previous examples give a basic look to what the Screen Space – Camera gives us, but let's aim a little higher! So let's create something a little more interesting, like the following:

As building a fun 3D scene is a bit outside the scope of this title, full instructions on how to create the 3D backdrop and model are included in the appendix of this title. You can tackle this if you wish but it is not essential to learn the UI lessons in this chapter.

Note

You can also find the setup tutorial for the demo scene on my blog at http://bit.ly/UnityUIEssentials3DDemoScene.

Or if you want, you can just import the demo scene using this handy asset package I created (aren't I just the nicest). Download it here: http://bit.ly/UIEssentialsCh5DemoScene.

Then import it using Assets | Import Package | Import Package from the Unity editor menu.

If you are not using the demo scene, just create a new scene and add a 3D cube to the scene using GameObject | 3D Object |...