vibrate phone unity code example
Example: unity vibrate phone
/****************************************/
/* MAIN FUNCTION DEPENDS ON UNITYENGINE */
/****************************************/
-----------------------
- -
- Handheld.Vibrate(); -
- -
-----------------------
// Example Class w/ vibrate function
using UnityEngine;
public class ExampleClass : MonoBehaviour {
public void SomeFunction() {
// Main function
Handheld.Vibrate();
}
}