Interface IInputInteraction | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    Interface IInputInteraction

    Interface for interaction patterns that drive actions.

    Namespace: UnityEngine.Experimental.Input
    Syntax
    public interface IInputInteraction
    Remarks

    By default, actions will start when a source control leaves its default state and will be completed when the control goes back to that state. Interactions can customize this and also implement logic that signals cancellations (which the default logic never triggers).

    Interactions can be stateful and mutate state over time.

    Methods

    Process(ref InputInteractionContext)

    Declaration
    void Process(ref InputInteractionContext context)
    Parameters
    Type Name Description
    InputInteractionContext context

    Reset()

    Declaration
    void Reset()
    Back to top
    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