summaryrefslogtreecommitdiff
path: root/Client/Assets/Behavior Designer/Runtime/Variables/SharedString.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Client/Assets/Behavior Designer/Runtime/Variables/SharedString.cs')
-rw-r--r--Client/Assets/Behavior Designer/Runtime/Variables/SharedString.cs11
1 files changed, 11 insertions, 0 deletions
diff --git a/Client/Assets/Behavior Designer/Runtime/Variables/SharedString.cs b/Client/Assets/Behavior Designer/Runtime/Variables/SharedString.cs
new file mode 100644
index 00000000..ccaf4c57
--- /dev/null
+++ b/Client/Assets/Behavior Designer/Runtime/Variables/SharedString.cs
@@ -0,0 +1,11 @@
+using UnityEngine;
+using System.Collections;
+
+namespace BehaviorDesigner.Runtime
+{
+ [System.Serializable]
+ public class SharedString : SharedVariable<string>
+ {
+ public static implicit operator SharedString(string value) { return new SharedString { mValue = value }; }
+ }
+} \ No newline at end of file