Advertisement
Guest User

vibrate

a guest
May 21st, 2019
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. IEnumerator timer()
  2. {
  3. yield return new WaitForSeconds(0.5f);
  4. GamePad.SetVibration(0, 0f, 0f);
  5. }
  6. 152 : GamePad.SetVibration(0, 1f, 1f);
  7. 153 : StartCoroutine(timer());
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement