summaryrefslogtreecommitdiff
path: root/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/RandomBool.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/RandomBool.cs')
-rw-r--r--Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/RandomBool.cs23
1 files changed, 0 insertions, 23 deletions
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