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