public void Advance() { if (playingBack) { dataIndex++; if (dataIndex > data.GetIndex()) { dataIndex = -2; playbackIndex++; if (playbackIndex >= records.Count) { playbackIndex = records.Count - 1; } } } }
public void Advance() { if (playingBack) { dataIndex++; if (dataIndex > data.GetIndex()) { dataIndex = -2; playbackIndex++; if (playbackIndex >= records.Count) { playbackIndex = records.Count - 1; } } } }