Enabling virtual reality in Unity consists of two basic steps. The process begins with ensuring you have the requisite SDK or runtime environment installed, with the next step being the configuration of the Unity project. We will look at both of these steps in this section, followed by hardware and software recommendations from Unity technologies.
As an example, if you are developing a virtual reality game for the Oculus Rift device, you will have the following packages available to you at the Oculus developers, site (https://developer.oculus.com/downloads/):
- Oculus Utilities for Unity: This is the core package for developing virtual reality games. Since Unity supports Oculus Rift natively, this package is optional. In addition to containing the Oculus
OVRPlugin
, this package includes prefabs, scripts, sample scenes, and other assets to help get you started. - Oculus Avatar SDK: This SDK is helpful if you are implementing a hand presence or make...