播放系统哔哔声。
// Play beep sound on menu clickusing UnityEditor; using UnityEngine;public class BeepExample { [MenuItem("Examples/Play beep")] static void DoBeep() { EditorApplication.Beep(); } }