Handheld.Vibrate

static function Vibrate () : void

Description

Triggers device vibration.

// Press button to vibrate
function OnGUI () {
if (GUI.Button (Rect (0, 10, 100, 32), "Vibrate!"))
Handheld.Vibrate ();
}