Modifica

Condividi tramite


DiagnosticsSystemVoiceControls Class

Definition

Class that listens for and acts upon diagnostic system voice commands.

public ref class DiagnosticsSystemVoiceControls : UnityEngine::MonoBehaviour, Microsoft::MixedReality::Toolkit::Input::IMixedRealitySpeechHandler, UnityEngine::EventSystems::IEventSystemHandler
[UnityEngine.AddComponentMenu("Scripts/MRTK/Services/DiagnosticsSystemVoiceControls")]
public class DiagnosticsSystemVoiceControls : UnityEngine.MonoBehaviour, Microsoft.MixedReality.Toolkit.Input.IMixedRealitySpeechHandler, UnityEngine.EventSystems.IEventSystemHandler
[<UnityEngine.AddComponentMenu("Scripts/MRTK/Services/DiagnosticsSystemVoiceControls")>]
type DiagnosticsSystemVoiceControls = class
    inherit MonoBehaviour
    interface IMixedRealitySpeechHandler
    interface IMixedRealityBaseInputHandler
    interface IEventSystemHandler
Public Class DiagnosticsSystemVoiceControls
Inherits MonoBehaviour
Implements IEventSystemHandler, IMixedRealitySpeechHandler
Inheritance
UnityEngine.MonoBehaviour
DiagnosticsSystemVoiceControls
Attributes
UnityEngine.AddComponentMenuAttribute
Implements
IMixedRealityBaseInputHandler IMixedRealitySpeechHandler UnityEngine.EventSystems.IEventSystemHandler

Constructors

DiagnosticsSystemVoiceControls()

Methods

ToggleDiagnostics()

Shows or hides all enabled diagnostics.

ToggleProfiler()

Shows or hides the profiler display.

Explicit Interface Implementations

IMixedRealitySpeechHandler.OnSpeechKeywordRecognized(SpeechEventData) UnityEngine.MonoBehaviour.Microsoft#MixedReality#Toolkit#Input#IMixedRealitySpeechHandler#OnSpeechKeywordRecognized(Microsoft.MixedReality.Toolkit.Input.SpeechEventData)

Applies to