/// <summary> /// Moves the specified occurrence backward on the timeline by the specified delay in seconds. /// </summary> public void Prepone(Occurrence occurrence, float delay) { Reschedule(occurrence, time - delay); }
/// <summary> /// Change the absolute time in seconds of the specified occurrence on the timeline. /// </summary> public void Reschedule(Occurrence occurrence, float time) { occurrence.time = time; PlaceOccurence(occurrence, time); }
/// <summary> /// Moves the specified occurrence forward on the timeline by the specified delay in seconds. /// </summary> public void Postpone(Occurrence occurrence, float delay) { Reschedule(occurrence, time + delay); }
/// <summary> /// Executes an occurrence now and places it on the schedule for rewinding. /// </summary> public Occurrence Do(bool repeatable, Occurrence occurrence) { return(Schedule(time, repeatable, occurrence)); }