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() [6/6]

void SCG.Gameptics.GamepticManager.Play ( GamepticSignal signal,
Action onComplete )

Plays a single haptic signal using the active backend and invokes onComplete after its duration elapses.

Parameters
signalSignal to play.
onCompleteCallback invoked after playback completes.

References CanPlayNow(), SCG.Gameptics.GamepticSignal.DurationSeconds, Settings, and Stop().