Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice
  4. Dismiss Notice

Handheld.Vibrate() Not Working - iOS

Discussion in 'Scripting' started by ExbowFTW, Jul 2, 2017.

  1. ExbowFTW

    ExbowFTW

    Joined:
    May 2, 2015
    Posts:
    281
    I have an iPhone 5 and iPhone 7. When I run Handheld.Vibrate() on either phone, it doesn't work! Am I missing any "using XYZ"s, Player settings, XCode settings, or something?

    Thanks!
     
  2. sefiroths

    sefiroths

    Joined:
    Dec 13, 2014
    Posts:
    24
    I have the same problem with iPhone 6. Do anyone has this issue?
    Thanks
     
  3. sefiroths

    sefiroths

    Joined:
    Dec 13, 2014
    Posts:
    24
    I'm using unity 2017.2 and ios 8.3 in iphone6. And tested the code from a button as the sample code in unity docs.
    No one has this problem?
     
  4. vabster

    vabster

    Joined:
    May 12, 2013
    Posts:
    14
    I'm bumping because I also have this problem. Unity 2017.2 here
     
  5. Brathnann

    Brathnann

    Joined:
    Aug 12, 2014
    Posts:
    7,144
  6. sirinee

    sirinee

    Joined:
    Mar 5, 2018
    Posts:
    1
    bonjour a tous ,
    Salut, je débute dans le code, et je voulais savoir comment on écrit un script une action de (vibration ) qui dure par exemple demi seconde, et qui peut être répétée, après un délai d'une seconde?

    avec Unity codé par c#

    j'attend votre réponse ,merci d'avance