public void RemoveTimer(AbsTimer t) { if (t != null) { //Debuger.LogError("Delete" + t.id); timerList.Remove(t); ReferencePool.Release(t); t = null; } }
public bool IsContain(AbsTimer t) { return(timerList.Contains(t)); }
public void RemoveTimer(uint id) { AbsTimer info = timerList.Find(item => item.id == id) as AbsTimer; RemoveTimer(info); }