Search Unity

  1. The Unity Pro & Visual Studio Professional Bundle gives you the tools you need to develop faster & collaborate more efficiently. Learn more.
    Dismiss Notice
  2. Want more efficiency in your development work? Sign up to receive weekly tech and creative know-how from Unity experts.
    Dismiss Notice
  3. Participate with students all over the world and build projects to teach people. Join now!
    Dismiss Notice
  4. Build games and experiences that can load instantly and without install. Explore the Project Tiny Preview today!
    Dismiss Notice
  5. Improve your Unity skills with a certified instructor in a private, interactive classroom. Watch the overview now.
    Dismiss Notice
  6. Want to see the most recent patch releases? Take a peek at the patch release page.
    Dismiss Notice

[RELEASED] Android Vibration Plugin

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

  1. ZouBi27


    May 25, 2013
    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:

    You can also download and run a demo on your Android device by downloading this 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