diff options
Diffstat (limited to 'Client/Assets/Behavior Designer/Runtime/Variables/SharedInt.cs')
-rw-r--r-- | Client/Assets/Behavior Designer/Runtime/Variables/SharedInt.cs | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Client/Assets/Behavior Designer/Runtime/Variables/SharedInt.cs b/Client/Assets/Behavior Designer/Runtime/Variables/SharedInt.cs new file mode 100644 index 00000000..9bd8e023 --- /dev/null +++ b/Client/Assets/Behavior Designer/Runtime/Variables/SharedInt.cs @@ -0,0 +1,11 @@ +using UnityEngine;
+using System.Collections;
+
+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 |