diff options
Diffstat (limited to 'Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/IsIntPositive.cs')
-rw-r--r-- | Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/IsIntPositive.cs | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/IsIntPositive.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/IsIntPositive.cs deleted file mode 100644 index 66fd1e7d..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/IsIntPositive.cs +++ /dev/null @@ -1,20 +0,0 @@ -namespace BehaviorDesigner.Runtime.Tasks.Basic.Math
-{
- [TaskCategory("Basic/Math")]
- [TaskDescription("Is the int a positive value?")]
- public class IsIntPositive : Conditional
- {
- [Tooltip("The int to check if positive")]
- public SharedInt intVariable;
-
- public override TaskStatus OnUpdate()
- {
- return intVariable.Value > 0 ? TaskStatus.Success : TaskStatus.Failure;
- }
-
- public override void OnReset()
- {
- intVariable = 0;
- }
- }
-}
\ No newline at end of file |