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

◆ Play() [4/6]

void SCG.Gameptics.GamepticManager.Play ( GamepticSequence sequence,
Action onComplete )

Plays a haptic sequence in order and invokes onComplete when the sequence finishes.

Parameters
sequenceSequence to play.
onCompleteCallback invoked after playback completes.

References CanPlayNow(), Settings, SCG.Gameptics.GamepticSequence.Steps, and Stop().