コード例 #1
0
 //call to plugin to start recognizing speech input
 public void StartRecognizingSpeech()
 {
     if (canSearch)
     {
         canSearch = false;
         speechButtonAnim.Play();
         voiceController.GetSpeech();
     }
 }
コード例 #2
0
ファイル: VoiceTest.cs プロジェクト: renanrudney/mindful
    /* bool VerifyList(List<string> list, string toCompare)
     * {
     *   //int i = 0;
     *   foreach (string compare in list)
     *   {
     *       //i++;
     *       if (compare.Equals(toCompare))
     *       {
     *           //img1.SetValue("", i);
     *           return true;
     *       }
     *   }
     *   return false;
     * }*/

    public void GetSpeech()
    {
        mic.SetActive(true);
        voiceController.GetSpeech();
    }
コード例 #3
0
ファイル: VoiceTest.cs プロジェクト: wsmaga/GazeGames
 public void GetSpeech()
 {
     voiceController.GetSpeech();
 }
コード例 #4
0
 /// <summary>
 /// Orders the library to begin the recognition.
 /// </summary>
 public void StartListening()
 {
     voiceController.GetSpeech();
 }
コード例 #5
0
 public void GetSpeech()
 {
     myResponse = null;
     voiceController.GetSpeech();
 }