public void btnRestart() { if (touched) { return; } lsm.LoadSceneWithLoadingScene(2); touched = true; }
public void Restart() { if (touched) { return; } lsm.LoadSceneWithLoadingScene(SceneManager.GetActiveScene().buildIndex); touched = true; }
public void ToPlayScreen() { if (touched) { return; } m.isEdit = false; lsm.LoadSceneWithLoadingScene(1); touched = true; }
public void Difficulty_Btn_Click(int i) { m.difficulty = i; if (m.isEdit) { lsm.LoadSceneWithLoadingScene(4); } else { lsm.LoadSceneWithLoadingScene(2); } }
public void toResult() { SetInt("rScore", Score); SetInt("rEqual", Equal); SetInt("rNormal", Normal); SetInt("rMiss", Miss); SetInt("rMaxCombo", MaxCombo); SetInt("rIsFullCombo", checkFullCombo()); lsm.LoadSceneWithLoadingScene(3); }