Advertisement
kadyr

Untitled

Oct 13th, 2021
1,104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.24 KB | None | 0 0
  1. using System.Collections;
  2. using System.Collections.Generic;
  3. using UnityEngine;
  4.  
  5. public class VibratorCalling : MonoBehaviour
  6. {
  7.     public void CallVibration()
  8.     {
  9. #if UNITY_ANDROID
  10.         Vibration.Vibrate(100);
  11. #endif
  12.     }
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement