summaryrefslogtreecommitdiff
path: root/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/SetSharedRect.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/SetSharedRect.cs')
-rw-r--r--Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/SetSharedRect.cs28
1 files changed, 0 insertions, 28 deletions
diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/SetSharedRect.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/SetSharedRect.cs
deleted file mode 100644
index bcef0665..00000000
--- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/SetSharedRect.cs
+++ /dev/null
@@ -1,28 +0,0 @@
-using UnityEngine;
-
-namespace BehaviorDesigner.Runtime.Tasks.Basic.SharedVariables
-{
- [TaskCategory("Basic/SharedVariable")]
- [TaskDescription("Sets the SharedRect variable to the specified object. Returns Success.")]
- public class SetSharedRect : Action
- {
- [Tooltip("The value to set the SharedRect to")]
- public SharedRect targetValue;
- [RequiredField]
- [Tooltip("The SharedRect to set")]
- public SharedRect targetVariable;
-
- public override TaskStatus OnUpdate()
- {
- targetVariable.Value = targetValue.Value;
-
- return TaskStatus.Success;
- }
-
- public override void OnReset()
- {
- targetValue = new Rect();
- targetVariable = new Rect();
- }
- }
-} \ No newline at end of file