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();
}
Page last updated: 2011-6-25