編輯

共用方式為


BaseInputHandler Class

Definition

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

public ref class BaseInputHandler abstract : Microsoft::MixedReality::Toolkit::Input::InputSystemGlobalHandlerListener
public abstract class BaseInputHandler : Microsoft.MixedReality.Toolkit.Input.InputSystemGlobalHandlerListener
type BaseInputHandler = class
    inherit InputSystemGlobalHandlerListener
Public MustInherit Class BaseInputHandler
Inherits InputSystemGlobalHandlerListener
Inheritance
UnityEngine.MonoBehaviour
BaseInputHandler
Derived

Constructors

BaseInputHandler()

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