summaryrefslogtreecommitdiff
path: root/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2022-03-10 14:07:40 +0800
committerchai <chaifix@163.com>2022-03-10 14:07:40 +0800
commit22891bf59032ba88262824255a706d652031384b (patch)
tree7595439ba9966c9402d37e37cee5e8cf098757d5 /Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math
parent8b04ea73e540067f83870b61d89db4868fea5e8a (diff)
* move folder
Diffstat (limited to 'Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math')
-rw-r--r--Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/BoolComparison.cs23
-rw-r--r--Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/BoolComparison.cs.meta8
-rw-r--r--Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/BoolFlip.cs21
-rw-r--r--Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/BoolFlip.cs.meta8
-rw-r--r--Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/BoolOperator.cs51
-rw-r--r--Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/BoolOperator.cs.meta8
-rw-r--r--Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/FloatAbs.cs23
-rw-r--r--Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/FloatAbs.cs.meta8
-rw-r--r--Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/FloatClamp.cs27
-rw-r--r--Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/FloatClamp.cs.meta8
-rw-r--r--Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/FloatComparison.cs50
-rw-r--r--Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/FloatComparison.cs.meta8
-rw-r--r--Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/FloatOperator.cs65
-rw-r--r--Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/FloatOperator.cs.meta8
-rw-r--r--Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/IntAbs.cs23
-rw-r--r--Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/IntAbs.cs.meta8
-rw-r--r--Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/IntClamp.cs27
-rw-r--r--Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/IntClamp.cs.meta8
-rw-r--r--Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/IntComparison.cs50
-rw-r--r--Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/IntComparison.cs.meta8
-rw-r--r--Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/IntOperator.cs66
-rw-r--r--Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/IntOperator.cs.meta8
-rw-r--r--Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/IsFloatPositive.cs20
-rw-r--r--Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/IsFloatPositive.cs.meta8
-rw-r--r--Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/IsIntPositive.cs20
-rw-r--r--Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/IsIntPositive.cs.meta8
-rw-r--r--Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/Lerp.cs30
-rw-r--r--Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/Lerp.cs.meta8
-rw-r--r--Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/LerpAngle.cs30
-rw-r--r--Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/LerpAngle.cs.meta8
-rw-r--r--Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/RandomBool.cs23
-rw-r--r--Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/RandomBool.cs.meta8
-rw-r--r--Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/RandomFloat.cs36
-rw-r--r--Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/RandomFloat.cs.meta8
-rw-r--r--Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/RandomInt.cs36
-rw-r--r--Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/RandomInt.cs.meta8
-rw-r--r--Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/SetBool.cs24
-rw-r--r--Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/SetBool.cs.meta8
-rw-r--r--Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/SetFloat.cs24
-rw-r--r--Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/SetFloat.cs.meta8
-rw-r--r--Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/SetInt.cs24
-rw-r--r--Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/SetInt.cs.meta8
42 files changed, 0 insertions, 861 deletions
diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/BoolComparison.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/BoolComparison.cs
deleted file mode 100644
index 0098ff55..00000000
--- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/BoolComparison.cs
+++ /dev/null
@@ -1,23 +0,0 @@
-namespace BehaviorDesigner.Runtime.Tasks.Basic.Math
-{
- [TaskCategory("Basic/Math")]
- [TaskDescription("Performs a comparison between two bools.")]
- public class BoolComparison : Conditional
- {
- [Tooltip("The first bool")]
- public SharedBool bool1;
- [Tooltip("The second bool")]
- public SharedBool bool2;
-
- public override TaskStatus OnUpdate()
- {
- return bool1.Value == bool2.Value ? TaskStatus.Success : TaskStatus.Failure;
- }
-
- public override void OnReset()
- {
- bool1.Value = false;
- bool2.Value = false;
- }
- }
-} \ No newline at end of file
diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/BoolComparison.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/BoolComparison.cs.meta
deleted file mode 100644
index ec4e2beb..00000000
--- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/BoolComparison.cs.meta
+++ /dev/null
@@ -1,8 +0,0 @@
-fileFormatVersion: 2
-guid: abaa3d78e68f249428f3be7acae86b0d
-MonoImporter:
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/BoolFlip.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/BoolFlip.cs
deleted file mode 100644
index 04fe32c9..00000000
--- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/BoolFlip.cs
+++ /dev/null
@@ -1,21 +0,0 @@
-namespace BehaviorDesigner.Runtime.Tasks.Basic.Math
-{
- [TaskCategory("Basic/Math")]
- [TaskDescription("Flips the value of the bool.")]
- public class BoolFlip : Action
- {
- [Tooltip("The bool to flip the value of")]
- public SharedBool boolVariable;
-
- public override TaskStatus OnUpdate()
- {
- boolVariable.Value = !boolVariable.Value;
- return TaskStatus.Success;
- }
-
- public override void OnReset()
- {
- boolVariable.Value = false;
- }
- }
-} \ No newline at end of file
diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/BoolFlip.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/BoolFlip.cs.meta
deleted file mode 100644
index 44658dae..00000000
--- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/BoolFlip.cs.meta
+++ /dev/null
@@ -1,8 +0,0 @@
-fileFormatVersion: 2
-guid: 54aae1e47fe3be6458751bf1f9defe8f
-MonoImporter:
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/BoolOperator.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/BoolOperator.cs
deleted file mode 100644
index 8f4eb768..00000000
--- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/BoolOperator.cs
+++ /dev/null
@@ -1,51 +0,0 @@
-namespace BehaviorDesigner.Runtime.Tasks.Basic.Math
-{
- [TaskCategory("Basic/Math")]
- [TaskDescription("Performs a math operation on two bools: AND, OR, NAND, or XOR.")]
- public class BoolOperator : Action
- {
- public enum Operation
- {
- AND,
- OR,
- NAND,
- XOR
- }
-
- [Tooltip("The operation to perform")]
- public Operation operation;
- [Tooltip("The first bool")]
- public SharedBool bool1;
- [Tooltip("The second bool")]
- public SharedBool bool2;
- [Tooltip("The variable to store the result")]
- public SharedBool storeResult;
-
- public override TaskStatus OnUpdate()
- {
- switch (operation) {
- case Operation.AND:
- storeResult.Value = bool1.Value && bool2.Value;
- break;
- case Operation.OR:
- storeResult.Value = bool1.Value || bool2.Value;
- break;
- case Operation.NAND:
- storeResult.Value = !(bool1.Value && bool2.Value);
- break;
- case Operation.XOR:
- storeResult.Value = bool1.Value ^ bool2.Value;
- break;
- }
- return TaskStatus.Success;
- }
-
- public override void OnReset()
- {
- operation = Operation.AND;
- bool1.Value = false;
- bool2.Value = false;
- storeResult.Value = false;
- }
- }
-} \ No newline at end of file
diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/BoolOperator.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/BoolOperator.cs.meta
deleted file mode 100644
index 7b4a9b28..00000000
--- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/BoolOperator.cs.meta
+++ /dev/null
@@ -1,8 +0,0 @@
-fileFormatVersion: 2
-guid: bd7b9dfddd114be4a8c8a8521262970d
-MonoImporter:
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/FloatAbs.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/FloatAbs.cs
deleted file mode 100644
index 16c2e345..00000000
--- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/FloatAbs.cs
+++ /dev/null
@@ -1,23 +0,0 @@
-using UnityEngine;
-
-namespace BehaviorDesigner.Runtime.Tasks.Basic.Math
-{
- [TaskCategory("Basic/Math")]
- [TaskDescription("Stores the absolute value of the float.")]
- public class FloatAbs : Action
- {
- [Tooltip("The float to return the absolute value of")]
- public SharedFloat floatVariable;
-
- public override TaskStatus OnUpdate()
- {
- floatVariable.Value = Mathf.Abs(floatVariable.Value);
- return TaskStatus.Success;
- }
-
- public override void OnReset()
- {
- floatVariable = 0;
- }
- }
-} \ No newline at end of file
diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/FloatAbs.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/FloatAbs.cs.meta
deleted file mode 100644
index 805bd7e7..00000000
--- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/FloatAbs.cs.meta
+++ /dev/null
@@ -1,8 +0,0 @@
-fileFormatVersion: 2
-guid: ab5531c4ed335b643a6f310c048a6b00
-MonoImporter:
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/FloatClamp.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/FloatClamp.cs
deleted file mode 100644
index 89f406b9..00000000
--- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/FloatClamp.cs
+++ /dev/null
@@ -1,27 +0,0 @@
-using UnityEngine;
-
-namespace BehaviorDesigner.Runtime.Tasks.Basic.Math
-{
- [TaskCategory("Basic/Math")]
- [TaskDescription("Clamps the float between two values.")]
- public class FloatClamp : Action
- {
- [Tooltip("The float to clamp")]
- public SharedFloat floatVariable;
- [Tooltip("The maximum value of the float")]
- public SharedFloat minValue;
- [Tooltip("The maximum value of the float")]
- public SharedFloat maxValue;
-
- public override TaskStatus OnUpdate()
- {
- floatVariable.Value = Mathf.Clamp(floatVariable.Value, minValue.Value, maxValue.Value);
- return TaskStatus.Success;
- }
-
- public override void OnReset()
- {
- floatVariable = minValue = maxValue = 0;
- }
- }
-} \ No newline at end of file
diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/FloatClamp.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/FloatClamp.cs.meta
deleted file mode 100644
index dbe8a35c..00000000
--- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/FloatClamp.cs.meta
+++ /dev/null
@@ -1,8 +0,0 @@
-fileFormatVersion: 2
-guid: 75c3634f2c8f1dd49b826a7ac0c7bdbe
-MonoImporter:
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/FloatComparison.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/FloatComparison.cs
deleted file mode 100644
index 1aa5c83e..00000000
--- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/FloatComparison.cs
+++ /dev/null
@@ -1,50 +0,0 @@
-namespace BehaviorDesigner.Runtime.Tasks.Basic.Math
-{
- [TaskCategory("Basic/Math")]
- [TaskDescription("Performs comparison between two floats: less than, less than or equal to, equal to, not equal to, greater than or equal to, or greater than.")]
- public class FloatComparison : Conditional
- {
- public enum Operation
- {
- LessThan,
- LessThanOrEqualTo,
- EqualTo,
- NotEqualTo,
- GreaterThanOrEqualTo,
- GreaterThan
- }
-
- [Tooltip("The operation to perform")]
- public Operation operation;
- [Tooltip("The first float")]
- public SharedFloat float1;
- [Tooltip("The second float")]
- public SharedFloat float2;
-
- public override TaskStatus OnUpdate()
- {
- switch (operation) {
- case Operation.LessThan:
- return float1.Value < float2.Value ? TaskStatus.Success : TaskStatus.Failure;
- case Operation.LessThanOrEqualTo:
- return float1.Value <= float2.Value ? TaskStatus.Success : TaskStatus.Failure;
- case Operation.EqualTo:
- return float1.Value == float2.Value ? TaskStatus.Success : TaskStatus.Failure;
- case Operation.NotEqualTo:
- return float1.Value != float2.Value ? TaskStatus.Success : TaskStatus.Failure;
- case Operation.GreaterThanOrEqualTo:
- return float1.Value >= float2.Value ? TaskStatus.Success : TaskStatus.Failure;
- case Operation.GreaterThan:
- return float1.Value > float2.Value ? TaskStatus.Success : TaskStatus.Failure;
- }
- return TaskStatus.Failure;
- }
-
- public override void OnReset()
- {
- operation = Operation.LessThan;
- float1.Value = 0;
- float2.Value = 0;
- }
- }
-} \ No newline at end of file
diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/FloatComparison.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/FloatComparison.cs.meta
deleted file mode 100644
index f4f6d874..00000000
--- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/FloatComparison.cs.meta
+++ /dev/null
@@ -1,8 +0,0 @@
-fileFormatVersion: 2
-guid: 79c81f4e67dbdc44880734e78153117c
-MonoImporter:
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/FloatOperator.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/FloatOperator.cs
deleted file mode 100644
index c4cebd9d..00000000
--- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/FloatOperator.cs
+++ /dev/null
@@ -1,65 +0,0 @@
-using UnityEngine;
-
-namespace BehaviorDesigner.Runtime.Tasks.Basic.Math
-{
- [TaskCategory("Basic/Math")]
- [TaskDescription("Performs a math operation on two floats: Add, Subtract, Multiply, Divide, Min, or Max.")]
- public class FloatOperator : Action
- {
- public enum Operation
- {
- Add,
- Subtract,
- Multiply,
- Divide,
- Min,
- Max,
- Modulo
- }
-
- [Tooltip("The operation to perform")]
- public Operation operation;
- [Tooltip("The first float")]
- public SharedFloat float1;
- [Tooltip("The second float")]
- public SharedFloat float2;
- [Tooltip("The variable to store the result")]
- public SharedFloat storeResult;
-
- public override TaskStatus OnUpdate()
- {
- switch (operation) {
- case Operation.Add:
- storeResult.Value = float1.Value + float2.Value;
- break;
- case Operation.Subtract:
- storeResult.Value = float1.Value - float2.Value;
- break;
- case Operation.Multiply:
- storeResult.Value = float1.Value * float2.Value;
- break;
- case Operation.Divide:
- storeResult.Value = float1.Value / float2.Value;
- break;
- case Operation.Min:
- storeResult.Value = Mathf.Min(float1.Value, float2.Value);
- break;
- case Operation.Max:
- storeResult.Value = Mathf.Max(float1.Value, float2.Value);
- break;
- case Operation.Modulo:
- storeResult.Value = float1.Value % float2.Value;
- break;
- }
- return TaskStatus.Success;
- }
-
- public override void OnReset()
- {
- operation = Operation.Add;
- float1.Value = 0;
- float2.Value = 0;
- storeResult.Value = 0;
- }
- }
-} \ No newline at end of file
diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/FloatOperator.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/FloatOperator.cs.meta
deleted file mode 100644
index 1641d6ce..00000000
--- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/FloatOperator.cs.meta
+++ /dev/null
@@ -1,8 +0,0 @@
-fileFormatVersion: 2
-guid: 9144ac2a8b796c941aeb3d6a4bc2cf7c
-MonoImporter:
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/IntAbs.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/IntAbs.cs
deleted file mode 100644
index 05f97250..00000000
--- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/IntAbs.cs
+++ /dev/null
@@ -1,23 +0,0 @@
-using UnityEngine;
-
-namespace BehaviorDesigner.Runtime.Tasks.Basic.Math
-{
- [TaskCategory("Basic/Math")]
- [TaskDescription("Stores the absolute value of the int.")]
- public class IntAbs : Action
- {
- [Tooltip("The int to return the absolute value of")]
- public SharedInt intVariable;
-
- public override TaskStatus OnUpdate()
- {
- intVariable.Value = Mathf.Abs(intVariable.Value);
- return TaskStatus.Success;
- }
-
- public override void OnReset()
- {
- intVariable = 0;
- }
- }
-} \ No newline at end of file
diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/IntAbs.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/IntAbs.cs.meta
deleted file mode 100644
index b3363f74..00000000
--- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/IntAbs.cs.meta
+++ /dev/null
@@ -1,8 +0,0 @@
-fileFormatVersion: 2
-guid: 8edcbab77068fe044842381cfe0acc19
-MonoImporter:
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/IntClamp.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/IntClamp.cs
deleted file mode 100644
index fed3a146..00000000
--- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/IntClamp.cs
+++ /dev/null
@@ -1,27 +0,0 @@
-using UnityEngine;
-
-namespace BehaviorDesigner.Runtime.Tasks.Basic.Math
-{
- [TaskCategory("Basic/Math")]
- [TaskDescription("Clamps the int between two values.")]
- public class IntClamp : Action
- {
- [Tooltip("The int to clamp")]
- public SharedInt intVariable;
- [Tooltip("The maximum value of the int")]
- public SharedInt minValue;
- [Tooltip("The maximum value of the int")]
- public SharedInt maxValue;
-
- public override TaskStatus OnUpdate()
- {
- intVariable.Value = Mathf.Clamp(intVariable.Value, minValue.Value, maxValue.Value);
- return TaskStatus.Success;
- }
-
- public override void OnReset()
- {
- intVariable = minValue = maxValue = 0;
- }
- }
-} \ No newline at end of file
diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/IntClamp.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/IntClamp.cs.meta
deleted file mode 100644
index c1bf1d66..00000000
--- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/IntClamp.cs.meta
+++ /dev/null
@@ -1,8 +0,0 @@
-fileFormatVersion: 2
-guid: 67cbe30015f2b4940a069cbbee22d888
-MonoImporter:
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/IntComparison.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/IntComparison.cs
deleted file mode 100644
index d0eda4f5..00000000
--- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/IntComparison.cs
+++ /dev/null
@@ -1,50 +0,0 @@
-namespace BehaviorDesigner.Runtime.Tasks.Basic.Math
-{
- [TaskCategory("Basic/Math")]
- [TaskDescription("Performs comparison between two integers: less than, less than or equal to, equal to, not equal to, greater than or equal to, or greater than.")]
- public class IntComparison : Conditional
- {
- public enum Operation
- {
- LessThan,
- LessThanOrEqualTo,
- EqualTo,
- NotEqualTo,
- GreaterThanOrEqualTo,
- GreaterThan
- }
-
- [Tooltip("The operation to perform")]
- public Operation operation;
- [Tooltip("The first integer")]
- public SharedInt integer1;
- [Tooltip("The second integer")]
- public SharedInt integer2;
-
- public override TaskStatus OnUpdate()
- {
- switch (operation) {
- case Operation.LessThan:
- return integer1.Value < integer2.Value ? TaskStatus.Success : TaskStatus.Failure;
- case Operation.LessThanOrEqualTo:
- return integer1.Value <= integer2.Value ? TaskStatus.Success : TaskStatus.Failure;
- case Operation.EqualTo:
- return integer1.Value == integer2.Value ? TaskStatus.Success : TaskStatus.Failure;
- case Operation.NotEqualTo:
- return integer1.Value != integer2.Value ? TaskStatus.Success : TaskStatus.Failure;
- case Operation.GreaterThanOrEqualTo:
- return integer1.Value >= integer2.Value ? TaskStatus.Success : TaskStatus.Failure;
- case Operation.GreaterThan:
- return integer1.Value > integer2.Value ? TaskStatus.Success : TaskStatus.Failure;
- }
- return TaskStatus.Failure;
- }
-
- public override void OnReset()
- {
- operation = Operation.LessThan;
- integer1.Value = 0;
- integer2.Value = 0;
- }
- }
-} \ No newline at end of file
diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/IntComparison.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/IntComparison.cs.meta
deleted file mode 100644
index e8807d6b..00000000
--- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/IntComparison.cs.meta
+++ /dev/null
@@ -1,8 +0,0 @@
-fileFormatVersion: 2
-guid: 99108c35b6d8e9942b8cf441a63f97b5
-MonoImporter:
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/IntOperator.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/IntOperator.cs
deleted file mode 100644
index 1ad1bc62..00000000
--- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/IntOperator.cs
+++ /dev/null
@@ -1,66 +0,0 @@
-using UnityEngine;
-
-namespace BehaviorDesigner.Runtime.Tasks.Basic.Math
-{
- [TaskCategory("Basic/Math")]
- [TaskDescription("Performs a math operation on two integers: Add, Subtract, Multiply, Divide, Min, or Max.")]
- public class IntOperator : Action
- {
- public enum Operation
- {
- Add,
- Subtract,
- Multiply,
- Divide,
- Min,
- Max,
- Modulo
- }
-
- [Tooltip("The operation to perform")]
- public Operation operation;
- [Tooltip("The first integer")]
- public SharedInt integer1;
- [Tooltip("The second integer")]
- public SharedInt integer2;
- [RequiredField]
- [Tooltip("The variable to store the result")]
- public SharedInt storeResult;
-
- public override TaskStatus OnUpdate()
- {
- switch (operation) {
- case Operation.Add:
- storeResult.Value = integer1.Value + integer2.Value;
- break;
- case Operation.Subtract:
- storeResult.Value = integer1.Value - integer2.Value;
- break;
- case Operation.Multiply:
- storeResult.Value = integer1.Value * integer2.Value;
- break;
- case Operation.Divide:
- storeResult.Value = integer1.Value / integer2.Value;
- break;
- case Operation.Min:
- storeResult.Value = Mathf.Min(integer1.Value, integer2.Value);
- break;
- case Operation.Max:
- storeResult.Value = Mathf.Max(integer1.Value, integer2.Value);
- break;
- case Operation.Modulo:
- storeResult.Value = integer1.Value % integer2.Value;
- break;
- }
- return TaskStatus.Success;
- }
-
- public override void OnReset()
- {
- operation = Operation.Add;
- integer1.Value = 0;
- integer2.Value = 0;
- storeResult.Value = 0;
- }
- }
-} \ No newline at end of file
diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/IntOperator.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/IntOperator.cs.meta
deleted file mode 100644
index fc1fa364..00000000
--- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/IntOperator.cs.meta
+++ /dev/null
@@ -1,8 +0,0 @@
-fileFormatVersion: 2
-guid: 84208004fb80c0945acc5685aa0a2681
-MonoImporter:
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/IsFloatPositive.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/IsFloatPositive.cs
deleted file mode 100644
index 9a106fde..00000000
--- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/IsFloatPositive.cs
+++ /dev/null
@@ -1,20 +0,0 @@
-namespace BehaviorDesigner.Runtime.Tasks.Basic.Math
-{
- [TaskCategory("Basic/Math")]
- [TaskDescription("Is the float a positive value?")]
- public class IsFloatPositive : Conditional
- {
- [Tooltip("The float to check if positive")]
- public SharedFloat floatVariable;
-
- public override TaskStatus OnUpdate()
- {
- return floatVariable.Value > 0 ? TaskStatus.Success : TaskStatus.Failure;
- }
-
- public override void OnReset()
- {
- floatVariable = 0;
- }
- }
-} \ No newline at end of file
diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/IsFloatPositive.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/IsFloatPositive.cs.meta
deleted file mode 100644
index 6502aa63..00000000
--- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/IsFloatPositive.cs.meta
+++ /dev/null
@@ -1,8 +0,0 @@
-fileFormatVersion: 2
-guid: db01d0da1f282134ca0ff7332eb19208
-MonoImporter:
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
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
diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/IsIntPositive.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/IsIntPositive.cs.meta
deleted file mode 100644
index 0fd5bd95..00000000
--- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/IsIntPositive.cs.meta
+++ /dev/null
@@ -1,8 +0,0 @@
-fileFormatVersion: 2
-guid: 0caff63c23ae17343a455fcbe6eab40a
-MonoImporter:
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/Lerp.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/Lerp.cs
deleted file mode 100644
index 1e39179c..00000000
--- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/Lerp.cs
+++ /dev/null
@@ -1,30 +0,0 @@
-using UnityEngine;
-
-namespace BehaviorDesigner.Runtime.Tasks.Basic.Math
-{
- [TaskCategory("Basic/Math")]
- [TaskDescription("Lerp the float by an amount.")]
- public class Lerp : Action
- {
- [Tooltip("The from value")]
- public SharedFloat fromValue;
- [Tooltip("The to value")]
- public SharedFloat toValue;
- [Tooltip("The amount to lerp")]
- public SharedFloat lerpAmount;
- [Tooltip("The lerp resut")]
- [RequiredField]
- public SharedFloat storeResult;
-
- public override TaskStatus OnUpdate()
- {
- storeResult.Value = Mathf.Lerp(fromValue.Value, toValue.Value, lerpAmount.Value);
- return TaskStatus.Success;
- }
-
- public override void OnReset()
- {
- fromValue = toValue = lerpAmount = storeResult = 0;
- }
- }
-} \ No newline at end of file
diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/Lerp.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/Lerp.cs.meta
deleted file mode 100644
index b6e18c51..00000000
--- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/Lerp.cs.meta
+++ /dev/null
@@ -1,8 +0,0 @@
-fileFormatVersion: 2
-guid: 355f3f83182cc434cb3a1bfb66862e29
-MonoImporter:
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/LerpAngle.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/LerpAngle.cs
deleted file mode 100644
index 11cd8165..00000000
--- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/LerpAngle.cs
+++ /dev/null
@@ -1,30 +0,0 @@
-using UnityEngine;
-
-namespace BehaviorDesigner.Runtime.Tasks.Basic.Math
-{
- [TaskCategory("Basic/Math")]
- [TaskDescription("Lerp the angle by an amount.")]
- public class LerpAngle : Action
- {
- [Tooltip("The from value")]
- public SharedFloat fromValue;
- [Tooltip("The to value")]
- public SharedFloat toValue;
- [Tooltip("The amount to lerp")]
- public SharedFloat lerpAmount;
- [Tooltip("The lerp resut")]
- [RequiredField]
- public SharedFloat storeResult;
-
- public override TaskStatus OnUpdate()
- {
- storeResult.Value = Mathf.LerpAngle(fromValue.Value, toValue.Value, lerpAmount.Value);
- return TaskStatus.Success;
- }
-
- public override void OnReset()
- {
- fromValue = toValue = lerpAmount = storeResult = 0;
- }
- }
-} \ No newline at end of file
diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/LerpAngle.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/LerpAngle.cs.meta
deleted file mode 100644
index 6b5fc782..00000000
--- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/LerpAngle.cs.meta
+++ /dev/null
@@ -1,8 +0,0 @@
-fileFormatVersion: 2
-guid: c3b148edcb926b744a2bb789f7967e24
-MonoImporter:
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/RandomBool.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/RandomBool.cs
deleted file mode 100644
index 2cb731d3..00000000
--- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/RandomBool.cs
+++ /dev/null
@@ -1,23 +0,0 @@
-using UnityEngine;
-
-namespace BehaviorDesigner.Runtime.Tasks.Basic.Math
-{
- [TaskCategory("Basic/Math")]
- [TaskDescription("Sets a random bool value")]
- public class RandomBool : Action
- {
- [Tooltip("The variable to store the result")]
- public SharedBool storeResult;
-
- public override TaskStatus OnUpdate()
- {
- storeResult.Value = Random.value < 0.5f;
- return TaskStatus.Success;
- }
-
- public override void OnReset()
- {
- storeResult.Value = false;
- }
- }
-} \ No newline at end of file
diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/RandomBool.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/RandomBool.cs.meta
deleted file mode 100644
index e666e5ed..00000000
--- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/RandomBool.cs.meta
+++ /dev/null
@@ -1,8 +0,0 @@
-fileFormatVersion: 2
-guid: 76d2565ca99ca26459dbefb44dcac109
-MonoImporter:
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/RandomFloat.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/RandomFloat.cs
deleted file mode 100644
index 57ca24f8..00000000
--- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/RandomFloat.cs
+++ /dev/null
@@ -1,36 +0,0 @@
-using UnityEngine;
-
-namespace BehaviorDesigner.Runtime.Tasks.Basic.Math
-{
- [TaskCategory("Basic/Math")]
- [TaskDescription("Sets a random float value")]
- public class RandomFloat : Action
- {
- [Tooltip("The minimum amount")]
- public SharedFloat min;
- [Tooltip("The maximum amount")]
- public SharedFloat max;
- [Tooltip("Is the maximum value inclusive?")]
- public bool inclusive;
- [Tooltip("The variable to store the result")]
- public SharedFloat storeResult;
-
- public override TaskStatus OnUpdate()
- {
- if (inclusive) {
- storeResult.Value = Random.Range(min.Value, max.Value + 1);
- } else {
- storeResult.Value = Random.Range(min.Value, max.Value);
- }
- return TaskStatus.Success;
- }
-
- public override void OnReset()
- {
- min.Value = 0;
- max.Value = 0;
- inclusive = false;
- storeResult.Value = 0;
- }
- }
-} \ No newline at end of file
diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/RandomFloat.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/RandomFloat.cs.meta
deleted file mode 100644
index 9b1e5fc8..00000000
--- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/RandomFloat.cs.meta
+++ /dev/null
@@ -1,8 +0,0 @@
-fileFormatVersion: 2
-guid: 9f81e111c77731b418178f1226975c3f
-MonoImporter:
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/RandomInt.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/RandomInt.cs
deleted file mode 100644
index 6fa4db81..00000000
--- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/RandomInt.cs
+++ /dev/null
@@ -1,36 +0,0 @@
-using UnityEngine;
-
-namespace BehaviorDesigner.Runtime.Tasks.Basic.Math
-{
- [TaskCategory("Basic/Math")]
- [TaskDescription("Sets a random int value")]
- public class RandomInt : Action
- {
- [Tooltip("The minimum amount")]
- public SharedInt min;
- [Tooltip("The maximum amount")]
- public SharedInt max;
- [Tooltip("Is the maximum value inclusive?")]
- public bool inclusive;
- [Tooltip("The variable to store the result")]
- public SharedInt storeResult;
-
- public override TaskStatus OnUpdate()
- {
- if (inclusive) {
- storeResult.Value = Random.Range(min.Value, max.Value + 1);
- } else {
- storeResult.Value = Random.Range(min.Value, max.Value);
- }
- return TaskStatus.Success;
- }
-
- public override void OnReset()
- {
- min.Value = 0;
- max.Value = 0;
- inclusive = false;
- storeResult.Value = 0;
- }
- }
-} \ No newline at end of file
diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/RandomInt.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/RandomInt.cs.meta
deleted file mode 100644
index 2d3efdac..00000000
--- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/RandomInt.cs.meta
+++ /dev/null
@@ -1,8 +0,0 @@
-fileFormatVersion: 2
-guid: 067384c41f33cff49bcdf6adec9da049
-MonoImporter:
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/SetBool.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/SetBool.cs
deleted file mode 100644
index e4821682..00000000
--- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/SetBool.cs
+++ /dev/null
@@ -1,24 +0,0 @@
-namespace BehaviorDesigner.Runtime.Tasks.Basic.Math
-{
- [TaskCategory("Basic/Math")]
- [TaskDescription("Sets a bool value")]
- public class SetBool : Action
- {
- [Tooltip("The bool value to set")]
- public SharedBool boolValue;
- [Tooltip("The variable to store the result")]
- public SharedBool storeResult;
-
- public override TaskStatus OnUpdate()
- {
- storeResult.Value = boolValue.Value;
- return TaskStatus.Success;
- }
-
- public override void OnReset()
- {
- boolValue.Value = false;
- storeResult.Value = false;
- }
- }
-} \ No newline at end of file
diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/SetBool.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/SetBool.cs.meta
deleted file mode 100644
index 33f077c7..00000000
--- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/SetBool.cs.meta
+++ /dev/null
@@ -1,8 +0,0 @@
-fileFormatVersion: 2
-guid: 55f244424a532d24bba59542e2f0fc59
-MonoImporter:
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/SetFloat.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/SetFloat.cs
deleted file mode 100644
index e9892ece..00000000
--- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/SetFloat.cs
+++ /dev/null
@@ -1,24 +0,0 @@
-namespace BehaviorDesigner.Runtime.Tasks.Basic.Math
-{
- [TaskCategory("Basic/Math")]
- [TaskDescription("Sets a float value")]
- public class SetFloat : Action
- {
- [Tooltip("The float value to set")]
- public SharedFloat floatValue;
- [Tooltip("The variable to store the result")]
- public SharedFloat storeResult;
-
- public override TaskStatus OnUpdate()
- {
- storeResult.Value = floatValue.Value;
- return TaskStatus.Success;
- }
-
- public override void OnReset()
- {
- floatValue.Value = 0;
- storeResult.Value = 0;
- }
- }
-} \ No newline at end of file
diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/SetFloat.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/SetFloat.cs.meta
deleted file mode 100644
index 794328f7..00000000
--- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/SetFloat.cs.meta
+++ /dev/null
@@ -1,8 +0,0 @@
-fileFormatVersion: 2
-guid: 4d915065ba447c64ba05f8e2841c6efd
-MonoImporter:
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/SetInt.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/SetInt.cs
deleted file mode 100644
index e16fb31a..00000000
--- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/SetInt.cs
+++ /dev/null
@@ -1,24 +0,0 @@
-namespace BehaviorDesigner.Runtime.Tasks.Basic.Math
-{
- [TaskCategory("Basic/Math")]
- [TaskDescription("Sets an int value")]
- public class SetInt : Action
- {
- [Tooltip("The int value to set")]
- public SharedInt intValue;
- [Tooltip("The variable to store the result")]
- public SharedInt storeResult;
-
- public override TaskStatus OnUpdate()
- {
- storeResult.Value = intValue.Value;
- return TaskStatus.Success;
- }
-
- public override void OnReset()
- {
- intValue.Value = 0;
- storeResult.Value = 0;
- }
- }
-} \ No newline at end of file
diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/SetInt.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/SetInt.cs.meta
deleted file mode 100644
index c5a42a46..00000000
--- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/SetInt.cs.meta
+++ /dev/null
@@ -1,8 +0,0 @@
-fileFormatVersion: 2
-guid: da57a0a43f227e445b9311bae043401f
-MonoImporter:
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData: