Прочетете на английски Редактиране

Споделяне чрез


BaseInputHandler Class

Definition

Base class for the Mixed Reality Toolkit's SDK input handlers.

C++
public ref class BaseInputHandler abstract : Microsoft::MixedReality::Toolkit::Input::InputSystemGlobalHandlerListener
Inheritance
UnityEngine.MonoBehaviour
BaseInputHandler
Derived

Constructors

Properties

IsFocusRequired

Is Focus required to receive input events on this GameObject?

Methods

EnsureInputSystemValid()

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

(Inherited from InputSystemGlobalHandlerListener)
OnDisable()
OnEnable()
RegisterHandlers()

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

(Inherited from InputSystemGlobalHandlerListener)
Start()
UnregisterHandlers()

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

(Inherited from InputSystemGlobalHandlerListener)
Update()

Applies to

Продукт Версии
MRTK2 Unity 2018 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0
MRTK2 Unity 2019 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0
MRTK2 Unity 2020 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0