private void OnMouseDown()
 {
     if (!GameSystem.IsRankingShowing && GameSystem.IsControllerable)
     {
         SoundController.Play(SoundController.SE.CLICK);
         SoundController.StopBGM(true);
         LevelChanger.ChangeScene("Game");
     }
 }
Esempio n. 2
0
 // Update is called once per frame
 void Update()
 {
     if (GameSystem.IsControllerable)
     {
         if (Input.GetMouseButtonDown(0))
         {
             LevelChanger.ChangeScene("Game");
         }
     }
 }