docs.unity.cn
    Show / Hide Table of Contents

    Interface IInputInteraction<TValue>

    Identical to IInputInteraction except that it allows an interaction to explicitly advertise the value it expects.

    Inherited Members
    IInputInteraction.Process(InputInteractionContext)
    IInputInteraction.Reset()
    Namespace: UnityEngine.InputSystem
    Syntax
    public interface IInputInteraction<TValue> : IInputInteraction where TValue : struct
    Type Parameters
    Name Description
    TValue

    Type of values expected by the interaction

    Remarks

    Advertising the value type will an interaction type to be filtered out in the UI if the value type it has is not compatible with the value type expected by the action.

    In all other ways, this interface is identical to IInputInteraction.

    Back to top Copyright © 2022 Unity Technologies
    Generated by DocFX
    on Wednesday, January 5, 2022
    Terms of use