Class TapInteraction
Performs the action if the control is pressed and released within the set duration (which defaults to defaultTapTime).
Inheritance
System.Object
TapInteraction
Namespace: UnityEngine.InputSystem.Interactions
Syntax
public class TapInteraction : IInputInteraction
Fields
duration
Declaration
public float duration
Field Value
| Type | Description |
|---|---|
| System.Single |
pressPoint
Declaration
public float pressPoint
Field Value
| Type | Description |
|---|---|
| System.Single |
Methods
Process(ref InputInteractionContext)
Declaration
public void Process(ref InputInteractionContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| InputInteractionContext | context |
Implements
Reset()
Declaration
public void Reset()