Class InputSystemGlobalHandlerListener
This component ensures that input events are forwarded to this component when focus or gaze is not required.
Inheritance
InputSystemGlobalHandlerListener
Namespace: Microsoft.MixedReality.Toolkit.Input
Assembly: cs.temp.dll.dll
Syntax
public abstract class InputSystemGlobalHandlerListener : 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()
RegisterHandlers()
Overload this method to specify, which global events component wants to listen to. Use RegisterHandler API of InputSystem
Declaration
protected abstract void RegisterHandlers()
Start()
Declaration
protected virtual void Start()
UnregisterHandlers()
Overload this method to specify, which global events component should stop listening to. Use UnregisterHandler API of InputSystem
Declaration
protected abstract void UnregisterHandlers()