docs.unity3d.com
Search Results for

    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(ref InputInteractionContext)
    IInputInteraction.Reset()
    Namespace: UnityEngine.InputSystem
    Assembly: Unity.InputSystem.dll
    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.

    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)