コード例 #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);
     }
 }
コード例 #2
0
    IEnumerator ChangeTheScene()
    {
        yield return(new WaitForSeconds(delay));

        transition.FadeIn(sceneName);
    }
コード例 #3
0
 public void StartGame()
 {
     transition.FadeIn(nextScene);
 }