EditorApplication.Beep

static function Beep () : void

Description

Plays system beep sound.

    // Play sound on mouse down event 
function OnGUI () {
if (Event.current.type == EventType.MouseDown)
EditorApplication.Beep();
}