Interface IInputInteraction
Interface for interaction patterns that drive actions.
Namespace: UnityEngine.InputSystem
Syntax
public interface IInputInteractionRemarks
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. In fact, interactions will usually represent miniature state machines driven directly by input.
Methods
Process(ref InputInteractionContext)
Declaration
void Process(ref InputInteractionContext context)Parameters
| Type | Name | Description | 
|---|---|---|
| InputInteractionContext | context | 
Reset()
Declaration
void Reset()