C# Класс Microsoft.MixedReality.Toolkit.Input.InputSystemGlobalHandlerListener

This component ensures that input events are forwarded to this component when focus or gaze is not required.
Наследование: MonoBehaviour
Показать файл Открыть проект

Защищенные методы

Метод Описание
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

Описание методов

EnsureInputSystemValid() защищенный Метод

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
Результат Task

OnDisable() защищенный Метод

protected OnDisable ( ) : void
Результат void

OnEnable() защищенный Метод

protected OnEnable ( ) : void
Результат void

RegisterHandlers() защищенный абстрактный Метод

Overload this method to specify, which global events component wants to listen to. Use RegisterHandler API of InputSystem
protected abstract RegisterHandlers ( ) : void
Результат void

Start() защищенный Метод

protected Start ( ) : void
Результат void

UnregisterHandlers() защищенный абстрактный Метод

Overload this method to specify, which global events component should stop listening to. Use UnregisterHandler API of InputSystem
protected abstract UnregisterHandlers ( ) : void
Результат void