예제 #1
0
 string nextLevelScene = "Level2";     // Different on each scene
 // Method that is invoked from a button and restarts the current level
 public void Retry()
 {
     sceneFader.FadeInto(SceneManager.GetActiveScene().name);
 }