Skip to content

Latest commit

 

History

History
21 lines (14 loc) · 562 Bytes

README.md

File metadata and controls

21 lines (14 loc) · 562 Bytes

MobileHapticsForUnity

Haptics Plugin for Unity that runs on iOS and Android.

Install with UPM

Add package from git URL at PackageManager window.

https://github.com/ulaph/MobileHapticsForUnity.git?path=Assets/MobileHapticsForUnity

or add

"com.ulaph.mobile-haptics-for-unity": "https://github.com/ulaph/MobileHapticsForUnity.git?path=Assets/MobileHapticsForUnity"

to Packages/manifest.json

Usage

Please choose from Light, Medium, Heavy impact feedback style.

using MobileHapticsForUnity;

Haptics.Impact(ImpactFeedbackStyle.Light);