Gameptics 1.0.0
Gameptics (Game+Haptics) is a lightweight cross-platform haptics toolkit for Unity. Author haptic signals and sequences with duration, intensity and sharpness, then play them on iOS and Android.
Loading...
Searching...
No Matches
SCG.Gameptics.GamepticPresets Class Reference

Provides predefined haptic sequences. Presets are returned as new instances to avoid unintended shared-state mutations. Sequences can be modified after retrieval for contextual adjustments. More...

Static Public Member Functions

static GamepticSequence Get (GamepticPresetId preset)
 Resolves a preset into a playable sequence. Some presets are multi-pulse patterns while others are single pulses.
static int GetLastPresetId ()
 Returns the highest numeric value among defined preset identifiers. Useful for bounds checks or iterating custom preset ranges.

Detailed Description

Provides predefined haptic sequences. Presets are returned as new instances to avoid unintended shared-state mutations. Sequences can be modified after retrieval for contextual adjustments.


The documentation for this class was generated from the following file:
  • SCG/Gameptics/Core/GamepticPresets.cs