Enabling the next and previous buttons

In order to interact with the Next and Previous button on our canvas, we need to handle the HoloLens' standard Select gesture as a click, much the same as a mouse click or smartphone screen tap on the Unity UI buttons. We can do this by adding the prefab Input Manager to the scene, and then adding an Input Module component to the existing UI EventSystem:

  1. From the Project Assets / HoloToolkit / Input / Prefabs folder, drag the InputManager into the Hierarchy.
  2. From the Project Assets / HoloToolkit / Input / Prefabs / Cursor folder, drag the CursorWithFeedback into the Hierarchy.
  3. In Hierarchy, with EventSystem selected, Add Component HoloLens Input Module.
  4. Disable the Standalone Input Module, as it won't ...

Get Augmented Reality for Developers 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.