diff options
Diffstat (limited to 'Client/Assets/Behavior Designer/Runtime/Basic Tasks/Input/GetButton.cs')
-rw-r--r-- | Client/Assets/Behavior Designer/Runtime/Basic Tasks/Input/GetButton.cs | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/Client/Assets/Behavior Designer/Runtime/Basic Tasks/Input/GetButton.cs b/Client/Assets/Behavior Designer/Runtime/Basic Tasks/Input/GetButton.cs index 16ca5592..aafcb287 100644 --- a/Client/Assets/Behavior Designer/Runtime/Basic Tasks/Input/GetButton.cs +++ b/Client/Assets/Behavior Designer/Runtime/Basic Tasks/Input/GetButton.cs @@ -1,7 +1,4 @@ using UnityEngine;
-#if CROSS_PLATFORM_INPUT
-using UnityStandardAssets.CrossPlatformInput;
-#endif
namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityInput
{
@@ -17,11 +14,7 @@ namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityInput public override TaskStatus OnUpdate()
{
-#if CROSS_PLATFORM_INPUT
- storeResult.Value = CrossPlatformInputManager.GetButton(buttonName.Value);
-#else
storeResult.Value = Input.GetButton(buttonName.Value);
-#endif
return TaskStatus.Success;
}
|