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