void metaHandler(object sender, EventArgs e) { if (GetComponent <MetaGesture> ().State.Equals(Gesture.GestureState.Began)) { if (gameC.getCurrentGameState() == GameState.GAMEOVER && gameC.getGameOverAgain()) { SoundController.PlaySound(soundsGame.btnSound); gameC.setGameOverAgain(false); int auxP = PlayerPrefs.GetInt("ptc_gamesPlayed"); auxP++; PlayerPrefs.SetInt("ptc_gamesPlayed", auxP); fade.StartFade(); } } }