예제 #1
0
 public void resetLevel()
 {
     resettingLevel = true;
     GameObject.FindGameObjectWithTag("Parallax").GetComponent <BackgroundController> ().resetParallax();
     foreach (Transform child in noteParent.transform)
     {
         child.GetComponent <NoteMover> ().resetNote();
     }
     parallax.stopScrolling();
     parallax.resetParallax();
     level.resetLevel();
 }