class MAGES::Experimental::EmbodimentJARIA::SpeechInput

Overview

Class used to handle the speech input from the user. More…

class SpeechInput: public MonoBehaviour
{
public:
    // properties

    string DefaultText;
    bool WaitingForInput;
    AgentConfiguration AgentConfig;
    TextMeshProUGUI UserInput;

    // methods

    void ResetUserInputText();
};

Detailed Documentation

Class used to handle the speech input from the user.

Properties

string DefaultText

Gets or sets the default text to be displayed when waiting for input.

bool WaitingForInput

Gets or sets a value indicating whether this property is used to check if we are currently waiting for input.

AgentConfiguration AgentConfig

Sets a value indicating the currently interacting agent configuration.

TextMeshProUGUI UserInput

Gets or sets this property is used to check if we are currently waiting for input.

Methods

void ResetUserInputText()

Resets the user input text UI to the default values.