csharp
public sealed class MultiTapInteractionActs on a run of quick taps.
No guide page documents this yet — the page shows what the code says about itself.
Remarks
A double-tap-to-dodge, and the reason the gap is a separate number from the tap length: a player taps quickly and pauses between taps, and one timeout covering both is either too strict to hit or too loose to distinguish from two separate presses.
Fields and properties (1)
public string NameThe name it is written under in a .vxinput.
Methods (3)
public MultiTapInteraction(int tapCount = 2, float tapDuration = 0.2, float tapDelay = 0.75, float pressPoint = 0.5)Acts on a run of quick taps.
public InputInteractionResult Process(in InputInteractionSample sample)Advances the interaction by one frame.
public void Reset()Forgets everything, as if the control had never been touched.
Used by (1)
- InputInteractionFactoryVixen.Input