static public bool Remove (List<EventDelegate> list, Callback callback)
{
if (list != null)
{
for (int i = 0, imax = list.Count; i < imax; ++i)
{
EventDelegate del = list[i];
if (del != null && del.Equals(callback))
{
list.RemoveAt(i);
return true;
}
}
}
return false;
}
}