void FinishMiniGame(int side, int reward) { FindObjectOfType <SoundManager>().Play("FinishedMinigame"); m_gameArea[side].GetComponentInChildren <Text>().text = "NICE!"; // End old game stuff m_healthManager.AddHP(reward); m_currentGameIndex[side] = -1; m_currentGameManager[side].DoneGame -= FinishMiniGame; m_currentGameManager[side].DestroySelf(); // Set timer to start new minigame, or do spinner switching stuff here waitingForNewGame = true; startNewGameTimer = START_NEW_GAME_TIMER_INTERVAL; newGameSide = side; NotificationSystem.CancelAlert(side, AlertLevel.High); }