ReceiverBaseMonoBehavior.OnVoiceCommand(InteractableStates, Interactable, String, Int32, Int32) Method

Definition

A voice command was called

public virtual void OnVoiceCommand (Microsoft.MixedReality.Toolkit.UI.InteractableStates state, Microsoft.MixedReality.Toolkit.UI.Interactable source, string command, int index = 0, int length = 1);
abstract member OnVoiceCommand : Microsoft.MixedReality.Toolkit.UI.InteractableStates * Microsoft.MixedReality.Toolkit.UI.Interactable * string * int * int -> unit
override this.OnVoiceCommand : Microsoft.MixedReality.Toolkit.UI.InteractableStates * Microsoft.MixedReality.Toolkit.UI.Interactable * string * int * int -> unit
Public Overridable Sub OnVoiceCommand (state As InteractableStates, source As Interactable, command As String, Optional index As Integer = 0, Optional length As Integer = 1)

Parameters

source
Interactable
command
String
index
Int32
length
Int32

Implements

Applies to