Exemplo n.º 1
0
        public override void Execute()
        {
            Game.Reset();

            RoutineRunner.StopAllRoutines();

            HighScoreService.Persist(Score);
        }
Exemplo n.º 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());
        }