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.
Options

How to turn Off and on Speechmanager and Microphonemanager

i have voice commands with both depend in the case

when i say export to export info to firebase,
appaer the UI and then turn off speechmanager.cs and turn on microphonemanager.cs

but when i say "back" with the microphonemanager y turn on speech manager and turn off microphonemanager but the problem is

-the microphone manager not turn of again
-when i try to do a speech commands is not hearing me again

i want to be able to turn on and off this scripts

please help me? this are the line of turn on and off

this is when i say Export
public void iTimeToExport()
{
iExportMenuGameObject.SetActive(true);
iMainMenu.SetActive(false);
GameObject.Find("OrigamiCollection").GetComponent().enabled = false;
GameObject.Find("OrigamiCollection").GetComponent().enabled = true;
GameObject.Find("OrigamiCollection").GetComponent().StartRecording();
}

this is when i say back
public void iTimeToBack()
{
iExportMenuGameObject.SetActive(false);
iMainMenu.SetActive(true);
GameObject.Find("OrigamiCollection").GetComponent().StopRecording();
GameObject.Find("OrigamiCollection").GetComponent().enabled = true;
GameObject.Find("OrigamiCollection").GetComponent().Start();
GameObject.Find("OrigamiCollection").GetComponent().keywordRecognizer.Start();
GameObject.Find("OrigamiCollection").GetComponent().enabled = false;
}

Sign In or Register to comment.