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 Namespace Reference

Classes

class  GamepticManager
 Provides a single entry point for triggering haptic feedback. Owns enabled state, cooldown, cancellation policy, and backend selection. Creates an instance automatically when first accessed via Instance. More...
class  GamepticManagerSettings
 Groups global haptics settings used by GamepticManager. Designed to be serialized on the manager and edited in the inspector. Settings include persistence, cooldown, and curve sampling preferences. More...
class  GamepticPresets
 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...
class  GamepticSequence
 Represents a sequence of haptic steps played in order. Each step contains an optional delay and a GamepticSignal. The runtime may interpret the sequence as repeated pulses or a short pattern. More...
class  GamepticSequenceStep
 A single step of a GamepticSequence. Contains an optional delay before playing and the signal to play. More...
class  GamepticSignal
 Describes a single haptic signal request. Provides duration, intensity, and sharpness, with optional curves over normalized time. This type is platform-agnostic and can be interpreted by runtime backends differently. More...

Enumerations

enum  GamepticPresetId {
  Selection = 0 , Success = 1 , Warning = 2 , Failure = 3 ,
  LightImpact = 4 , MediumImpact = 5 , HeavyImpact = 6 , RigidImpact = 7 ,
  SoftImpact = 8 , Fanfare = 9 , SadTrombone = 10
}
 Identifies predefined haptic patterns used by the project. Presets are resolved by GamepticPresets into sequences. More...