Show / Hide Table of Contents

    Class InputSystemGlobalListener

    This component ensures that all input events are forwarded to this GameObject when focus or gaze is not required.

    Inheritance
    Object
    InputSystemGlobalListener
    Namespace: Microsoft.MixedReality.Toolkit.Input
    Assembly: cs.temp.dll.dll
    Syntax
    [Obsolete("InputSystemGlobalListener uses obsolete global input event registration API. Use RegisterHandler/UnregisterHandler API directly (preferred) or InputSystemGlobalHandlerListener instead.")]
    public class InputSystemGlobalListener : MonoBehaviour

    Properties

    InputSystem

    The active instance of the input system.

    Declaration
    protected IMixedRealityInputSystem InputSystem { get; }
    Property Value
    Type Description
    IMixedRealityInputSystem

    Methods

    EnsureInputSystemValid()

    A task that will only complete when the input system has in a valid state.

    Declaration
    protected Task EnsureInputSystemValid()
    Returns
    Type Description
    Task
    Remarks

    It's possible for this object to have been destroyed after the await, which implies that callers should check that this != null after awaiting this task.

    OnDisable()

    Declaration
    protected virtual void OnDisable()

    OnEnable()

    Declaration
    protected virtual void OnEnable()

    Start()

    Declaration
    protected virtual void Start()
    Back to top Generated by DocFX