InputSystemGlobalListener Class
Definition
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.
Caution
InputSystemGlobalListener uses obsolete global input event registration API. Use RegisterHandler/UnregisterHandler API directly (preferred) or InputSystemGlobalHandlerListener instead.
This component ensures that all input events are forwarded to this GameObject when focus or gaze is not required.
public ref class InputSystemGlobalListener : UnityEngine::MonoBehaviour
[System.Obsolete("InputSystemGlobalListener uses obsolete global input event registration API. Use RegisterHandler/UnregisterHandler API directly (preferred) or InputSystemGlobalHandlerListener instead.")]
[UnityEngine.AddComponentMenu("Scripts/MRTK/Obsolete/InputSystemGlobalListener")]
public class InputSystemGlobalListener : UnityEngine.MonoBehaviour
[<System.Obsolete("InputSystemGlobalListener uses obsolete global input event registration API. Use RegisterHandler/UnregisterHandler API directly (preferred) or InputSystemGlobalHandlerListener instead.")>]
[<UnityEngine.AddComponentMenu("Scripts/MRTK/Obsolete/InputSystemGlobalListener")>]
type InputSystemGlobalListener = class
inherit MonoBehaviour
Public Class InputSystemGlobalListener
Inherits MonoBehaviour
- Inheritance
-
UnityEngine.MonoBehaviourInputSystemGlobalListener
- Attributes
-
ObsoleteAttribute UnityEngine.AddComponentMenuAttribute
Constructors
InputSystemGlobalListener() |
Methods
EnsureInputSystemValid() |
A task that will only complete when the input system has in a valid state. |
OnDisable() | |
OnEnable() | |
Start() |