20 lines
407 B
C#
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();
|
|||
|
}
|
|||
|
}
|
|||
|
}
|