diff options
author | chai <chaifix@163.com> | 2022-03-10 14:07:40 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2022-03-10 14:07:40 +0800 |
commit | 22891bf59032ba88262824255a706d652031384b (patch) | |
tree | 7595439ba9966c9402d37e37cee5e8cf098757d5 /Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/CompareSharedBool.cs | |
parent | 8b04ea73e540067f83870b61d89db4868fea5e8a (diff) |
* move folder
Diffstat (limited to 'Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/CompareSharedBool.cs')
-rw-r--r-- | Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/CompareSharedBool.cs | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/CompareSharedBool.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/CompareSharedBool.cs deleted file mode 100644 index 73fd634c..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/CompareSharedBool.cs +++ /dev/null @@ -1,23 +0,0 @@ -namespace BehaviorDesigner.Runtime.Tasks.Basic.SharedVariables
-{
- [TaskCategory("Basic/SharedVariable")]
- [TaskDescription("Returns success if the variable value is equal to the compareTo value.")]
- public class CompareSharedBool : Conditional
- {
- [Tooltip("The first variable to compare")]
- public SharedBool variable;
- [Tooltip("The variable to compare to")]
- public SharedBool compareTo;
-
- public override TaskStatus OnUpdate()
- {
- return variable.Value.Equals(compareTo.Value) ? TaskStatus.Success : TaskStatus.Failure;
- }
-
- public override void OnReset()
- {
- variable = false;
- compareTo = false;
- }
- }
-}
\ No newline at end of file |