Chapter 9. Creating GUIs Part 2 – Unity's New GUI System

Since the release of Unity 4.6, there are now some additional UI tools that have been added to make elements much more visual and easy to place, letting you know exactly what you're going to get.

Everything that we did in Chapter 2, Creating GUIs, is still quite relevant and works completely for now, and for the foreseeable future. In this chapter, we are going to see how to create some new elements using these new tools so that you can compare and contrast when it's a good idea to use one or the other.

The new UI is actually created inside our scene. We've learned how to create UI elements by calling code several times a frame during the OnGUI loop. The old UI system is still great to know, ...

Get Unity Game Development Blueprints 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.