EditorApplication.Beepstatic function Beep () : voidDescriptionPlays system beep sound.
// Play sound on mouse down event
function OnGUI () { if (Event.current.type == EventType.mouseDown) EditorApplication.Beep(); } |
|
||||
| Scripting > Editor Classes > EditorApplication | ||||
EditorApplication.Beepstatic function Beep () : voidDescriptionPlays system beep sound.
// Play sound on mouse down event
function OnGUI () { if (Event.current.type == EventType.mouseDown) EditorApplication.Beep(); } |