public static TimerEvent sortedAdd(TimerEvent.TimerEventName mEventName, Command mCommand, float mDeltaTime) { Debug.Assert(timerMInstance != null); Debug.Assert(mCommand != null); Debug.Assert(mDeltaTime >= 0.0f); TimerEvent timerEvent = (TimerEvent)timerMInstance.pullReserveNode(); timerEvent.setAll(mEventName, mCommand, mDeltaTime); Debug.Assert(timerEvent != null); timerMInstance.addSorted(timerEvent); return(timerEvent); }