O'Reilly logo

Microsoft HoloLens Developer’s Guide by Dennis Vroegop

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

Unity

That was a lot of work. Even if the people at SharpDX had managed to include the necessary wrappers, we still would have had to do a lot to get a sound to come from a designated place.

Fortunately, this is much easier to do in Unity. We just need to add one component, set a couple of properties, and make some global changes to the settings of the project. I will show you all these steps right now, and I will do that in our RockOn app.

We have a bunch of guitars that we can place in our room. I think it would be nice if each one of them makes a guitar sound every time we place it, just as if the user were not careful enough when putting the expensive instrument on the stage.

To begin, we need a sound. Again, there are tons of websites ...

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