예제 #1
0
        public override void Execute()
        {
            Game.Reset();

            RoutineRunner.StopAllRoutines();

            HighScoreService.Persist(Score);
        }
예제 #2
0
        public override void Execute()
        {
            Camera.main.orthographicSize = Screen.height / 2f;

            UpdateScoreSignal.Dispatch(0);

            RoutineRunner.StartRoutine(Game.Update());

            RoutineRunner.StartRoutine(InputHandler.Update());

            RoutineRunner.StartRoutine(InputHandler.UpdateEscape());
        }