public void SendQuestionToRobot()
    {
        if (string.IsNullOrEmpty(inputField.text) == false)
        {
            // Response Bot AIML
            string response = _chatBot.getOutput(inputField.text);

            //Output the response
            VoiceOut.PlayVoiceOutput(response);
            //VoiceOut.NormalOutputTesting(response);
        }
    }
Beispiel #2
0
 public void TEMP_VoiceOutputTesting(string output)
 {
     VoiceOut.PlayVoiceOutput(output);
 }