Show / Hide Table of Contents

    Class InputActionHandler

    Script used to handle input action events. Invokes Unity events when the configured input action starts or ends.

    Inheritance
    Object
    InputSystemGlobalHandlerListener
    BaseInputHandler
    InputActionHandler
    Implements
    IMixedRealityInputActionHandler
    IMixedRealityBaseInputHandler
    IEventSystemHandler
    Inherited Members
    BaseInputHandler.IsFocusRequired
    BaseInputHandler.OnEnable()
    BaseInputHandler.Start()
    BaseInputHandler.Update()
    BaseInputHandler.OnDisable()
    InputSystemGlobalHandlerListener.InputSystem
    InputSystemGlobalHandlerListener.EnsureInputSystemValid()
    Namespace: Microsoft.MixedReality.Toolkit.Input
    Assembly: cs.temp.dll.dll
    Syntax
    public class InputActionHandler : BaseInputHandler, IMixedRealityInputActionHandler, IMixedRealityBaseInputHandler, IEventSystemHandler

    Fields

    OnInputActionEnded

    Unity event raised on action end, e.g. button released or gesture completed. Includes the input event that triggered the action.

    Declaration
    public InputActionUnityEvent OnInputActionEnded
    Field Value
    Type Description
    InputActionUnityEvent

    OnInputActionStarted

    Unity event raised on action start, e.g. button pressed or gesture started. Includes the input event that triggered the action.

    Declaration
    public InputActionUnityEvent OnInputActionStarted
    Field Value
    Type Description
    InputActionUnityEvent

    Methods

    RegisterHandlers()

    Declaration
    protected override void RegisterHandlers()
    Overrides
    InputSystemGlobalHandlerListener.RegisterHandlers()

    UnregisterHandlers()

    Declaration
    protected override void UnregisterHandlers()
    Overrides
    InputSystemGlobalHandlerListener.UnregisterHandlers()

    Explicit Interface Implementations

    IMixedRealityInputActionHandler.OnActionEnded(BaseInputEventData)

    Declaration
    void IMixedRealityInputActionHandler.OnActionEnded(BaseInputEventData eventData)
    Parameters
    Type Name Description
    BaseInputEventData eventData

    IMixedRealityInputActionHandler.OnActionStarted(BaseInputEventData)

    Declaration
    void IMixedRealityInputActionHandler.OnActionStarted(BaseInputEventData eventData)
    Parameters
    Type Name Description
    BaseInputEventData eventData

    Implements

    IMixedRealityInputActionHandler
    IMixedRealityBaseInputHandler
    IEventSystemHandler
    Back to top Generated by DocFX