Class InputSystemGlobalListener
This component ensures that all input events are forwarded to this GameObject when focus or gaze is not required.
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
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()