Skip to content

Small performance-focused vibrations implementation for the Android platform.

Notifications You must be signed in to change notification settings

Delt06/unity-android-vibrations

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Unity Android Vibrations

Simple class that may be used to create haptic effects in Unity for Android platform.

In contrast to other possible solutions, this one utilizes AndroidJNI (Java Native Interface) to achieve much better performance.

Most solutions have poor performance due to allocations (including boxing) inside AndroidJavaObject/AndroidJavaClass helper classes.

One may have to exclude Odin Inspector related code if he/she does not own it. It was used for convenience only, thus code will work in the very same way without those attributes.

About

Small performance-focused vibrations implementation for the Android platform.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages