Select your preferred scripting language. All code snippets will be displayed in this language.
History
Triggers device vibration.
// Press button to vibrate function OnGUI () { if (GUI.Button (Rect (0, 10, 100, 32), "Vibrate!")) Handheld.Vibrate (); }