mirror of
https://github.com/unity-atoms/unity-atoms.git
synced 2025-01-24 00:58:59 -05:00
20 lines
366 B
C#
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();
|
|
}
|
|
}
|
|
}
|
|
}
|