// Use this for initialization void Start() { keywords.Add("Next", () => { InstructionManager.NextStep(); }); keywords.Add("Back", () => { InstructionManager.PreviousStep(); }); keywords.Add("Help", () => { InspectionManager.Help(); }); keywords.Add("Close", () => { InspectionManager.Close(); }); keywords.Add("Play", () => { VideoManager.Play(); }); keywords.Add("Pause", () => { VideoManager.Pause(); }); keywords.Add("Stop", () => { VideoManager.Stop(); }); // Tell the KeywordRecognizer about our keywords. keywordRecognizer = new KeywordRecognizer(keywords.Keys.ToArray()); // Register a callback for the KeywordRecognizer and start recognizing! keywordRecognizer.OnPhraseRecognized += KeywordRecognizer_OnPhraseRecognized; keywordRecognizer.Start(); }