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