Inside the Chapter6Downloads.zip file, you will find the ApplicationManager.cs file. Of course, you can always copy and paste that into Visual Studio; again, I highly recommend that you type it yourself.
Here, we will go through each section and walk through the entire file.
First up, we have the Using statements. We have added a few: HoloToolkit.Unity, HoloToolkit.Unity.SpatialMapping, and HoloToolkit.Unity.InputModule. As I had mentioned previously, both SpatialMapping and InputManager are singletons and could not be accessed without these statements:
Here is where we make our own singleton out of the application ...