Chapter 8.  Implementing Advance HUDs

In this chapter, we will cover the following recipes:

  • Creating a distance displayer
  • Creating a directional radar
  • Developing a subtitle shower

Introduction

In this chapter, you will learn how to implement some advanced HUD elements. Such elements may include displaying the distance of an object, creating a radar to detect objects, as well as incorporating an inventory system and developing a subtitle shower. In this chapter, we will develop the skills required to obtain information from the 3D world and implement it as UI elements. Furthermore, through the development of a subtitle shower, you will learn how to control it from other parts of the game. Finally, as the UI reacts from input that relates to other parts ...

Get Unity UI Cookbook 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.