IndieGame/client/Assets/ParadoxNotion/NodeCanvas/Tasks/Actions/Utility/DebugBeep.cs
DOBEST\zhaoyingjie f242607587 初始化工程
2024-10-11 10:12:15 +08:00

20 lines
407 B
C#

using NodeCanvas.Framework;
using ParadoxNotion.Design;
using UnityEngine;
namespace NodeCanvas.Tasks.Actions
{
[Category("✫ Utility")]
[Description("Plays a 'Beep' in editor only")]
public class DebugBeep : ActionTask
{
protected override void OnExecute() {
#if UNITY_EDITOR
UnityEditor.EditorApplication.Beep();
#endif
EndAction();
}
}
}