Chapter 6. Adding Depth and Intuition to a User Interface
Every game needs a user interface. Whether it's a graphic to display ammunition count in a first-person shooter, an inventory screen in an RPG, or a speedometer in a racing game, dynamic and intuitive interfaces are what hold the complex mechanics of a game together.
In virtual reality, we have the opportunity to extend the user interface beyond the simplicity of a 2D screen and incorporate depth and real-world properties to our interface. In this chapter, we'll be building out a 3D UI for our combat arena game and expanding traditional 2D UI techniques into a better, more immersive format for VR.
This chapter will cover the following topics:
- Adding a VR input module
- Constructing a simple menu
- Creating a GameManager script
- Adding UI elements to the game world