unity-atoms/Source/Lists/BaseAtomList.cs

20 lines
366 B
C#

using System.Collections;
namespace UnityAtoms
{
public abstract class BaseAtomList : BaseAtom
{
public VoidEvent Cleared;
protected abstract IList IList { get; }
public void Clear()
{
IList.Clear();
if (null != Cleared)
{
Cleared.Raise();
}
}
}
}