Struct KeywordAndResponse
Keyword/UnityEvent pair that ties voice input to UnityEvents wired up in the inspector.
Inherited Members
Namespace: Microsoft.MixedReality.Toolkit.Input
Assembly: cs.temp.dll.dll
Syntax
[Serializable]
public struct KeywordAndResponse
  Constructors
KeywordAndResponse(String, UnityEvent)
Constructor.
Declaration
public KeywordAndResponse(string keyword, UnityEvent response)
  Parameters
| Type | Name | Description | 
|---|---|---|
| String | keyword | The keyword to listen for.  | 
      
| UnityEvent | response | The handler to be invoked when the keyword is recognized.  | 
      
Properties
Keyword
The keyword to listen for.
Declaration
public string Keyword { get; }
  Property Value
| Type | Description | 
|---|---|
| String | 
Response
The handler to be invoked when the keyword is recognized.
Declaration
public UnityEvent Response { get; }
  Property Value
| Type | Description | 
|---|---|
| UnityEvent |