Пример #1
0
 void TriggerRestartLevel()
 {
     Disable();
     TriggerFade(RestartLevel, new Color(1, 1, 1, 0));
     AudioHandler.Play("selection");
     ArrowFeedback.Left();
 }
Пример #2
0
 void TriggerReturnToTitleScreen()
 {
     Disable();
     TriggerFade(ReturnToTitleScreen, new Color(0, 0, 0, 0));
     AudioHandler.Play("selection");
     ArrowFeedback.Left();
 }
Пример #3
0
 void TriggerGameStart()
 {
     Disable();
     TriggerFade(GameStart, new Color(1, 1, 1, 0));
     AudioHandler.Play("selection");
     ArrowFeedback.Left();
 }
Пример #4
0
 void TriggerLevelSelect()
 {
     if (GameState.MaxReachedLevel <= 1)
     {
         return;
     }
     Disable();
     TriggerFade(LevelSelect, new Color(0, 0, 0, 0));
     AudioHandler.Play("selection");
     ArrowFeedback.Left();
 }
Пример #5
0
 void TriggerRestartLevel()
 {
     if (!_paused || _touchTimer > 0f)
     {
         return;
     }
     Deactivate();
     TriggerFade(RestartLevel, new Color(1, 1, 1, 0));
     AudioHandler.Play("selection");
     ArrowFeedback.Left();
 }