InputSystemGlobalListener Class

Definition

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.MonoBehaviour
InputSystemGlobalListener
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()

Applies to