public static void Beep ();

Description

播放系统哔哔声。

// Play beep sound on menu click

using UnityEditor; using UnityEngine;

public class BeepExample { [MenuItem("Examples/Play beep")] static void DoBeep() { EditorApplication.Beep(); } }