diff options
Diffstat (limited to 'Client/Assets/Behavior Designer/Runtime/Basic Tasks/Input/IsButtonDown.cs')
-rw-r--r-- | Client/Assets/Behavior Designer/Runtime/Basic Tasks/Input/IsButtonDown.cs | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/Client/Assets/Behavior Designer/Runtime/Basic Tasks/Input/IsButtonDown.cs b/Client/Assets/Behavior Designer/Runtime/Basic Tasks/Input/IsButtonDown.cs index 9fd532f7..8a783800 100644 --- a/Client/Assets/Behavior Designer/Runtime/Basic Tasks/Input/IsButtonDown.cs +++ b/Client/Assets/Behavior Designer/Runtime/Basic Tasks/Input/IsButtonDown.cs @@ -1,7 +1,4 @@ using UnityEngine;
-#if CROSS_PLATFORM_INPUT
-using UnityStandardAssets.CrossPlatformInput;
-#endif
namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityInput
{
@@ -14,11 +11,7 @@ namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityInput public override TaskStatus OnUpdate()
{
-#if CROSS_PLATFORM_INPUT
- return CrossPlatformInputManager.GetButtonDown(buttonName.Value) ? TaskStatus.Success : TaskStatus.Failure;
-#else
return Input.GetButtonDown(buttonName.Value) ? TaskStatus.Success : TaskStatus.Failure;
-#endif
}
public override void OnReset()
|