Search Unity

[RELEASED] Android Vibration Plugin

Discussion in 'Assets and Asset Store' started by KonsomeJona, Nov 5, 2013.

  1. KonsomeJona

    KonsomeJona

    Joined:
    May 25, 2013
    Posts:
    10
    We are glad to present you our first Unity plug-in that enhances control over Android devices enabled with vibration.


    Today, there is only one way on Unity to use the vibration feature of an Android device: iPhoneUtils.Vibrate(). Unfortunately, this function does only vibrate your device for less than one second.

    However, Android is an amazing system that can give you full control of vibration and this plugin will allow you to use all these controls from any Unity project in the easiest way.

    Now imagine how your games or applications can be so cool with a force feedback through the vibrator?
    In your game or application project, you will be easily able to:
    • Know if the device has vibration capablities or not;
    • Vibrate the device for a specified time;
    • Vibrate the device according to a specified pattern with a specified number of loops, endless or only one shot;
    • Stop all vibrations.

    Each function can be used with only one line in your code (example: VibrationManager.Vibrate(500)).
    You can check how easy it is to use this plugin by checking the documentation and all available functions here:
    http://www.takohi.com/data/unity/plugins/android_vibration/documentation/class_vibration_manager.html

    You can also download and run a demo on your Android device by downloading this APK:
    http://www.takohi.com/data/unity/plugins/android_vibration/unity_android_vibration_plugin_demo.apk
    The source code of this demo is included in the package.

    The price: 2$.
    The asset is available on the asset store here.

    If you have any suggestion or any question, please feel free to ask!
     
    Last edited: Nov 5, 2013