HoloLens Beginner's Guide
上QQ阅读APP看书,第一时间看更新

InputManager prefab

The HTK handles most of the hard work of getting GGV going, through the manager scripts such as the Gaze Manager, Input Manager, or Speech Input Handler. Recent changes to the HoloToolkit make it so that most of this is handled by simply dropping a prefab into your scene. 

Let's look at the following steps:

  1. In the Project view, find the InputManager prefab in the HoloToolkit>Input> Prefabs directory.
  1. Select the InputManager prefab, drag it into the Hierarchy view, and release it.

Now, we have our InputManager object and nearly all the scripts we need for GGV to work.