public Timer AddDelayTimer(float delayTime, Action <object[]> callback, params object[] args) { Timer timer = new DelayTimer(delayTime, callback, args); _timers.Add(timer); return(timer); }
public Timer AddDelayTimer(float delayTime, Action callback) { Timer timer = new DelayTimer(delayTime, (objs) => callback(), null); _timers.Add(timer); return(timer); }