public static TimerEvent Add(TimerEventName name, float triggerTime, float deltaTime, Command command) { TimerManager timerMan = TimerManager.GetInstance(); TimerEvent timerEvent = (TimerEvent)timerMan.BaseAdd(); Debug.Assert(timerEvent != null); timerEvent.Set(name, triggerTime, deltaTime, command); timerMan.BaseInsertSorted(timerEvent); return(timerEvent); }