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