Edit

Share via


SpeechCommands(String, KeyCode, MixedRealityInputAction, String) Constructor

Definition

Constructor.

public SpeechCommands (string keyword, UnityEngine.KeyCode keyCode, Microsoft.MixedReality.Toolkit.Input.MixedRealityInputAction action, string localizationKey = "");
new Microsoft.MixedReality.Toolkit.Input.SpeechCommands : string * UnityEngine.KeyCode * Microsoft.MixedReality.Toolkit.Input.MixedRealityInputAction * string -> Microsoft.MixedReality.Toolkit.Input.SpeechCommands
Public Sub New (keyword As String, keyCode As KeyCode, action As MixedRealityInputAction, Optional localizationKey As String = "")

Parameters

keyword
String

The Keyword.

keyCode
UnityEngine.KeyCode

The KeyCode.

action
MixedRealityInputAction

The Action to perform when Keyword or KeyCode is recognized.

localizationKey
String

An optional key to use to override the keyword with a localized version

Applies to