public void ParseNextTick() { if (CurrentTickIndex >= Demo.Ticks.Count) { return; } currentTick = Demo.Ticks[CurrentTickIndex]; HandlePlayerStateUpdates(); HandleCurrentEvents(); TickDone?.Invoke(this, null); CurrentTickIndex++; }
public void Tick() { TickDone?.Invoke(); }