summaryrefslogtreecommitdiff
path: root/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Input/IsButtonDown.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Input/IsButtonDown.cs')
-rw-r--r--Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Input/IsButtonDown.cs22
1 files changed, 0 insertions, 22 deletions
diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Input/IsButtonDown.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Input/IsButtonDown.cs
deleted file mode 100644
index 8a783800..00000000
--- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Input/IsButtonDown.cs
+++ /dev/null
@@ -1,22 +0,0 @@
-using UnityEngine;
-
-namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityInput
-{
- [TaskCategory("Basic/Input")]
- [TaskDescription("Returns success when the specified button is pressed.")]
- public class IsButtonDown : Conditional
- {
- [Tooltip("The name of the button")]
- public SharedString buttonName;
-
- public override TaskStatus OnUpdate()
- {
- return Input.GetButtonDown(buttonName.Value) ? TaskStatus.Success : TaskStatus.Failure;
- }
-
- public override void OnReset()
- {
- buttonName = "Fire1";
- }
- }
-} \ No newline at end of file