OldBlueWater/BlueWater/Assets/Behavior Designer/Runtime/Variables/SharedGameObjectList.cs

16 lines
448 B
C#
Raw Normal View History

2023-09-11 03:34:42 +00:00
using UnityEngine;
using System.Collections.Generic;
namespace BehaviorDesigner.Runtime
{
[System.Serializable]
public class SharedGameObjectList : SharedVariable<List<GameObject>>
{
public SharedGameObjectList()
{
mValue = new List<GameObject>();
}
public static implicit operator SharedGameObjectList(List<GameObject> value) { return new SharedGameObjectList { mValue = value }; }
}
}