C# Class Microsoft.MixedReality.Toolkit.Input.InputSystemGlobalHandlerListener

This component ensures that input events are forwarded to this component when focus or gaze is not required.
Inheritance: MonoBehaviour
Afficher le fichier Open project: microsoft/MixedReality-WorldLockingTools-Samples

Méthodes protégées

Méthode Description
EnsureInputSystemValid ( ) : Task

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

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 ( ) : void
OnEnable ( ) : void
RegisterHandlers ( ) : void

Overload this method to specify, which global events component wants to listen to. Use RegisterHandler API of InputSystem

Start ( ) : void
UnregisterHandlers ( ) : void

Overload this method to specify, which global events component should stop listening to. Use UnregisterHandler API of InputSystem

Method Details

EnsureInputSystemValid() protected méthode

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

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.

protected EnsureInputSystemValid ( ) : Task
Résultat Task

OnDisable() protected méthode

protected OnDisable ( ) : void
Résultat void

OnEnable() protected méthode

protected OnEnable ( ) : void
Résultat void

RegisterHandlers() protected abstract méthode

Overload this method to specify, which global events component wants to listen to. Use RegisterHandler API of InputSystem
protected abstract RegisterHandlers ( ) : void
Résultat void

Start() protected méthode

protected Start ( ) : void
Résultat void

UnregisterHandlers() protected abstract méthode

Overload this method to specify, which global events component should stop listening to. Use UnregisterHandler API of InputSystem
protected abstract UnregisterHandlers ( ) : void
Résultat void