public void EndRound() { // Tell the data manager to save this round's data dataManager.SaveRoundData(participantID, GetPaticipantGroupChar(), GetNotificationType()); // Reload the scene for the next round OR end the test session if (roundID != 3) { // Reload the scene for the next round SceneManager.LoadScene(SceneManager.GetActiveScene().name); } else { // Tell the data manager to save the data to the participant's file dataManager.ExportData(participantID, GetPaticipantGroupChar(), participantAge, participantGender); // Move to the thank you scene SceneManager.LoadScene("ThankYou"); } // Onto the next round roundID++; }