Summary

In this chapter, we have looked at the two core ways of creating interface elements in Unity—GUITextures and GUI scripting. By now you should have enough knowledge to get started in implementing either approach to build interfaces. While there are many more things you can do with GUI scripting, the techniques for establishing elements that we have covered here are the essentials you'll need each time you write a GUI script. We have also looked at how you can alter what is being rendered by a piece of GUI code, a crucial element of creating navigation in Unity game menus.

In the next chapter on Animation Basics, we will finish the game by adding a sequence of congratulatory messages once the player lights the campfire to signal for help. ...

Get Unity 3.x Game Development Essentials 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.