DiagnosticsSystemVoiceControls Class
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.
Class that listens for and acts upon diagnostic system voice commands.
C++
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.MonoBehaviourDiagnosticsSystemVoiceControls
- Attributes
-
UnityEngine.AddComponentMenuAttribute
- Implements
-
IMixedRealityBaseInputHandler IMixedRealitySpeechHandler Unity
Engine. Event Systems. IEvent System Handler
Toggle |
Shows or hides all enabled diagnostics. |
Toggle |
Shows or hides the profiler display. |
IMixed |
UnityEngine.MonoBehaviour.Microsoft#MixedReality#Toolkit#Input#IMixedRealitySpeechHandler#OnSpeechKeywordRecognized(Microsoft.MixedReality.Toolkit.Input.SpeechEventData) |
Produit | Versions |
---|---|
MRTK2 Unity 2018 | 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0 |
MRTK2 Unity 2019 | 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0 |
MRTK2 Unity 2020 | 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0 |