Exemplo n.º 1
0
    // Start is called before the first frame update
    void Start()
    {
        speechIn = new SpeechIn(onRecognized);
        speechIn.setMetaCommands(metaCommands);
        speechOut = new SpeechOut();

        GenerateDialog().play(speechIn, speechOut);
    }
Exemplo n.º 2
0
 void Start()
 {
     speechIn  = new SpeechIn(onRecognized);
     speechOut = new SpeechOut();
     Dialog();
     speechIn.setMetaCommands(new List <string> {
         "repeat", "quit", "options"
     });
 }