User interface system

Now that we have acquired a basic knowledge about how to design UIs, it's time to learn how Unity handles all of this. From Unity 4.6, it is possible to use a dedicated UI system called UI. The goal of this section is understand how it works.

Note

It is worth mentioning that, before version 4.6, Unity used an old system called GUI. Recently, Unity developer didn't completely dismiss the system, but slightly changed it and renamed it IMGUI, which stands for Immediate Mode GUI. As we can see in the official documentation, it is not intended to be used in game, but rather for programmers to quickly debug. Moreover, it is also used to create windows or a custom Inspector when Unity is extended through scripts, a topic that is definitely ...

Get Getting Started with Unity 5.x 2D Game Development 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.