Keeping the user informed

Within the Editor, search for the CursorWithFeedback prefab in the Project panel's search bar. Once found, drag onto the Hierarchy panel. This almost takes care of the cursor. We just need to add two dependencies, namely, GazeManager and HandManager. Create a new GameObject via the menu GameObject | Create Empty and rename to Gaze; this will be the GameObject we attach these components to. With the Gaze GameObject selected, click on the Add Component button from within the Inspector panel, enter, and select the GazeManager script. The GazeManager, as the name implies, provides information about the user's gaze, including the direction and position. Next, still with the Gaze GameObject, selected, click on the Add ...

Get Microsoft HoloLens By Example 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.