The TapticEffects module provides easy to implement taptic feedback for iOS devices. Taptic feedback triggers the vibration of the device in a controlled way, making the user feel taps and events physically while holding their phone.
TapticEffects has no dependencies.
There are a few different types of taptic feedback that can be triggered on iOS devices. They differ in vibration strength, frequency and pattern. See the list of types to the right here. They are included within an enumerator called TapticType.
Simply call Taptic.PlayTaptic(TapticType taptic) to instantly play an effect on the iOS device.
warning
error
success
light
medium
heavy
selectionChange
You need to have the Taptic.mm file within any Plugins/iOS folder in your project. It's already provided by the module, but keep it in there. If you move it, it breaks.
Don't forget to add using DuskModules.TapticEffects; to any script using the module.