diff options
Diffstat (limited to 'Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/SetBool.cs')
-rw-r--r-- | Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/SetBool.cs | 24 |
1 files changed, 0 insertions, 24 deletions
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 |