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