Android vibrate method in Unity Enviroment
To vibrate Android device in the Unity, you need only one line of code. which is, Handheld.Vibrate(); that's All. IF you develop the multi-platform app, Add pre-processor command to avoid the compilation error. #if UNITY_ANDROIDHandheld.Vibrate();#endif Enjoy your job.
English/Programming Tips
2017. 7. 2. 19:31
최근댓글