docs.unity3d.com
    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
    Terms of use
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023