KeywordAndResponse(String, UnityEvent) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Constructor.
public:
KeywordAndResponse(System::String ^ keyword, UnityEngine::Events::UnityEvent ^ response);
public KeywordAndResponse (string keyword, UnityEngine.Events.UnityEvent response);
new Microsoft.MixedReality.Toolkit.Input.KeywordAndResponse : string * UnityEngine.Events.UnityEvent -> Microsoft.MixedReality.Toolkit.Input.KeywordAndResponse
Public Sub New (keyword As String, response As UnityEvent)
Parameters
- keyword
- String
The keyword to listen for.
- response
- UnityEngine.Events.UnityEvent
The handler to be invoked when the keyword is recognized.