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 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access