Hello everyone.

The Mixed Reality Forums here are no longer being used or maintained.

There are a few other places we would like to direct you to for support, both from Microsoft and from the community.

The first way we want to connect with you is our mixed reality developer program, which you can sign up for at https://aka.ms/IWantMR.

For technical questions, please use Stack Overflow, and tag your questions using either hololens or windows-mixed-reality.

If you want to join in discussions, please do so in the HoloDevelopers Slack, which you can join by going to https://aka.ms/holodevelopers, or in our Microsoft Tech Communities forums at https://techcommunity.microsoft.com/t5/mixed-reality/ct-p/MicrosoftMixedReality.

And always feel free to hit us up on Twitter @MxdRealityDev.

Sound on Airtap

Hello Anyone! Just wanted to know if anyone would know the best process required to initiate an audio file on airtap gesture using the InteractiveMeshCursor? (Simple Click Sound) I currently have InputManager managing all gestures... Thanks in advance!!

Best Answer


  • holonutholonut
    edited June 2017

    Thank you so much for you answer! I have been playing with a bunch of different ways to play a click sound and what you have given me works with the following:

    public class PlayAudioSource : MonoBehaviour, IInputClickHandler
    // Use this for initialization
    #region IInputClickHandler
    public void OnInputClicked(InputClickedEventData eventData)
    GetComponent< AudioSource >().Play();
    #endregion IInputClickHandler

    It works great if I have an the AudioSource attached to a GameObject. How about just playing the audio clip when it is not attached to a GameObject? Just like a mouse click sound?
    Many Thanks!!

Sign In or Register to comment.