Hololens voice input - choose options

Hi,

I want to choose from a couple of options, like:

which would call

public void OpenItem(int id) { ... }

which would call

public void ChangeColor(Color color) { ... }

How would I go about that? With the keyword recognizer, I guess I would need to put each command explicitly into the list of keywords?

Hey @WavyRancheros

You can find documentation for the keyword system here: Unity - Scripting API: KeywordRecognizer

But in essence, yes you need to get the recognizer to have all your available commands in there. So when the speech engine hears a statement, it will try to match those statements to your trigger keywords.