iPhoneUtils
.Vibrate
Manual
Reference
Scripting
Scripting
>
Runtime Classes
>
iPhoneUtils
iPhoneUtils
.Vibrate
Menu
Overview
Runtime Classes
Attributes
Enumerations
Editor Classes
Enumerations
History
Index
iPhoneUtils
All Members
Class Variables
isApplicationGenuine
isApplicationGenuineAvailable
Class Functions
PlayMovie
PlayMovieURL
Vibrate
static
function
Vibrate () :
void
Description
Triggers device vibration.
// Press button to vibrate
function
OnGUI
() {
if
(
GUI.Button
(
Rect
(0, 10, 100, 32),
"Vibrate!"
))
iPhoneUtils.Vibrate
();
}