• Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by febs1488 · Jun 28, 2012 at 04:29 PM · vibrationvibrate

How to add vibration to the device??

I need that the device vibrate after a certain event

Comment
Add comment · Show 8
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image febs1488 · Jun 28, 2012 at 05:45 PM 0
Share

What is the difference between iPhoneUtils.Vibrate() y Handheld.Vibrate() ????

avatar image Coderdood febs1488 · Jun 28, 2012 at 05:57 PM 0
Share

Sarper provided a good answer in the other question ( http://answers.unity3d.com/questions/276137/what-is-the-difference-between-iphoneutilsvibrate.html )

avatar image raptorkwok febs1488 · Mar 04, 2014 at 07:28 AM 0
Share

iPhoneUtils are deprecated. Use Handheld ins$$anonymous$$d.

avatar image ruudlenders febs1488 · Jul 02, 2014 at 07:42 PM 0
Share

You really shouldn't be posting another question as an answer. This isn't a forum, this is a Q&A website.

Show more comments
avatar image DanielTortosa · Nov 26, 2012 at 10:46 PM 0
Share

Handheld.Vibrate() is not working on my Android with Unity4

avatar image Recluse DanielTortosa · Dec 18, 2013 at 01:52 PM 0
Share

Handheld.Vibrate() isn't working on my iPhone 5 either.

avatar image ruudlenders DanielTortosa · Jul 02, 2014 at 07:42 PM 0
Share

Guys, this isn't a forum. This is a Q&A website. Why would you post a bug as an answer? You should place stuff like this as comments below the answer that suggested Handheld.Vibrate().

1 Reply

· Add your reply
  • Sort: 
avatar image
1

Answer by Coderdood · Jun 28, 2012 at 05:11 PM

Use Handheld.Vibrate() - documentation here.

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Zielak · Feb 15, 2014 at 01:24 PM 2
Share

Does it support different length than 1 second vibration? I just need like 0.1 second.

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Welcome to Unity Answers

The best place to ask and answer questions about development with Unity.

To help users navigate the site we have posted a site navigation guide.

If you are a new user to Unity Answers, check out our FAQ for more information.

Make sure to check out our Knowledge Base for commonly asked Unity questions.

If you are a moderator, see our Moderator Guidelines page.

We are making improvements to UA, see the list of changes.



Follow this Question

Answers Answers and Comments

8 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Handheld.Vibrate doesn't work in Unity2017.3.0f3 1 Answer

How to control vibration duration of Handheld.Vibrate()? 2 Answers

Regulate Vibration 2 Answers

Rigidbody, what the hell? *Vibrating* 0 Answers

How to change type of vibration on Android/IOS? 3 Answers

  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges