IndieGame/client/Assets/ParadoxNotion/NodeCanvas/Tasks/Actions/Utility/DebugBeep.cs

20 lines
407 B
C#
Raw Normal View History

2024-10-11 10:12:15 +08:00
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();
}
}
}