O'Reilly logo

HoloLens Beginner’s Guide by Jason Odom

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

What does our Application Manager do?

With the basic overview out of the way, let's get into the heart of our code. We will go through every line of code, though we will only lightly touch some areas.

First, start with the using statements:

using System; 
using System.Collections; 
using System.Collections.Generic; 
using UnityEngine; 
using HoloToolkit.Unity; 
using HoloToolkit.Unity.SpatialMapping; 
using HoloToolkit.Unity.InputModule; 

We can access additional functionality outside that of standard C# and .NET libraries through using statements. Let's move forward with the declaration of ApplicationManager:

Class Declaration 
public class ApplicationManager : Singleton<ApplicationManager>, IInputClickHandler, ISpeechHandler 
{ 

This is the declaration ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required