Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Microsoft HoloLens By Example

You're reading from   Microsoft HoloLens By Example Create immersive Augmented Reality experiences

Arrow left icon
Product type Paperback
Published in Aug 2017
Publisher Packt
ISBN-13 9781787126268
Length 406 pages
Edition 1st Edition
Languages
Arrow right icon
Author (1):
Arrow left icon
Joshua Newnham Joshua Newnham
Author Profile Icon Joshua Newnham
Joshua Newnham
Arrow right icon
View More author details
Toc

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 Component button from within the Inspector panel, enter, and select the script HandManager. The HandManager script tracks the...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime