편집

다음을 통해 공유


KeywordAndResponse(String, UnityEvent) Constructor

Definition

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.

Applies to