public void OnPreviewRemoved(PreviewReplay preview) { previews.Remove(preview); //controls.OnPlaybackSpeedHandler -= preview.OnPlaybackSpeedChanged; //controls.OnControlActionHandler -= preview.OnReplayControlAction; for (int i = 0; i < previews.Count; i++) { previews[i].LabyrinthObject.transform.position = Vector3.right * Labyrinths.Utils.SelectionOffset * i; } SetMoveCount(); }
public void OnLevelReplayStarted(PreviewReplay preview) { ReplayManager.Instance.StartLevelReplay(preview.Level); }