Exemplo n.º 1
0
 //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);
     }
 }
Exemplo n.º 2
0
    IEnumerator ChangeTheScene()
    {
        yield return(new WaitForSeconds(delay));

        transition.FadeIn(sceneName);
    }
Exemplo n.º 3
0
 public void StartGame()
 {
     transition.FadeIn(nextScene);
 }