예제 #1
0
 void TriggerReturnToTitleScreen()
 {
     Disable();
     TriggerFade(ReturnToTitleScreen, new Color(0, 0, 0, 0));
     AudioHandler.Play("selection");
     ArrowFeedback.Down();
 }
예제 #2
0
 void TriggerReturnToTitleScreen()
 {
     if (!_paused || _touchTimer > 0f)
     {
         return;
     }
     Deactivate();
     TriggerFade(ReturnToTitleScreen, new Color(0, 0, 0, 0));
     AudioHandler.Play("selection");
     ArrowFeedback.Down();
 }
예제 #3
0
 void ChangeLevelDown()
 {
     GameState.CurrentLevel--;
     if (GameState.CurrentLevel < 1)
     {
         GameState.CurrentLevel = 1;
     }
     else
     {
         AudioHandler.Play("cursor");
     }
     ArrowFeedback.Down();
 }
예제 #4
0
 void ChangePaletteDown()
 {
     if (!EnableSwap || !EnableDown)
     {
         return;
     }
     PaletteSwap.PaletteIndex--;
     if (PaletteSwap.PaletteIndex < 0)
     {
         PaletteSwap.PaletteIndex = _palettes.Length - 1;
     }
     AudioHandler.Play("palette_change");
     ArrowFeedback.Down();
     UpdatePalette();
 }