예제 #1
0
        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();
        }
예제 #2
0
 public void OnLevelReplayStarted(PreviewReplay preview)
 {
     ReplayManager.Instance.StartLevelReplay(preview.Level);
 }