コード例 #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);
    }
コード例 #2
0
 void Start()
 {
     speechIn  = new SpeechIn(onRecognized);
     speechOut = new SpeechOut();
     Dialog();
     speechIn.setMetaCommands(new List <string> {
         "repeat", "quit", "options"
     });
 }