示例#1
0
 public void OnPlay()
 {
     levelChanger.FadoutToLevel(levelToLoad);
 }
示例#2
0
 public void RestartLevel()
 {
     levelChanger.FadoutToLevel(SceneManager.GetActiveScene().buildIndex);
     // SceneManager.LoadScene(SceneManager.GetActiveScene().buildIndex);
 }