private void StartGamePhase()
 {
     // NeedRestartCountDown = true;
     // 音を鳴らしたい
     // InputObserver.Instance.GetHit();
     _currentPhase            = new PhaseGame(_viewModel);
     _currentPhase.OnEndPhase = StartFinishPhase;
     _currentPhase.Init();
 }
 private void StartResultPhase()
 {
     DestroyEnemies();
     _currentPhase = new PhaseResult(_viewModel);
     _currentPhase.Init();
     _currentPhase.OnEndPhase = () =>
     {
         _currentPhase = null;
         FadeManager.Instance.FadeOut(NextScene);
     };
 }
        private void StartCountDownPhase()
        {
            // NeedRestartCountDown = false;

            playerSelect.SetActive(false);
            _currentPhase = new PhaseCountDown(_viewModel);

            _currentPhase.OnEndPhase = StartGamePhase;
            _currentPhase.Init();
            LoadPrefabs();
        }
 private void StartFinishPhase()
 {
     _currentPhase            = new PhaseFinish(_viewModel);
     _currentPhase.OnEndPhase = StartResultPhase;
     _currentPhase.Init();
 }
 private void StartLoadPhase()
 {
     _currentPhase            = new PhaseLoad(_viewModel);
     _currentPhase.OnEndPhase = StartCountDownPhase;
     _currentPhase.Init();
 }