Chapter 9. Diving into 3D UIs

In this chapter, we will cover these recipes:

  • Creating a 3D menu
  • Adding a smooth tilt effect
  • Creating and placing a 3D UI
  • Creating an animated 3D UI warning

Introduction

In this chapter, you will learn how to implement some 3D effects as part of the UI. Often in modern games, menus are in 3D. This is done for many reasons, sometimes to make them more visually pleasant and interesting. In some cases, UI elements are placed in the 3D world along with other game objects. For example, when a player goes to collect a pickup, some information may be displayed to him about that object. This chapter will teach you how to do this effectively in Unity. Some of the skills that will be covered in this chapter will be advanced features for placing UI elements within a 3D space and taking advantage of the z axis. In order to do this, we will also cover various scripts that enable our UI to interact with the 3D world to exchange input/output with the UI.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.188.115.118