public override IEnumerable Run() { GetTime t = new GetTime(); yield return t; float startTime = t.Time; while (true) { yield return t; if (t.Time >= startTime + Time) break; } }
public override IEnumerable Run() { GetTime t = new GetTime(); yield return(t); float startTime = t.Time; while (true) { yield return(t); if (t.Time >= startTime + Time) { break; } } }