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