//If the right rhytmic object is destroyed this is called public void ChangeTurn() { turn++; if (turn == maxObjects) //game has ended, change scene { transition.FadeIn(sceneName); } }
IEnumerator ChangeTheScene() { yield return(new WaitForSeconds(delay)); transition.FadeIn(sceneName); }
public void StartGame() { transition.FadeIn(nextScene); }