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