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