示例#1
0
 public void cantPlant()
 {
     audioSource.PlayOneShot(failSound);
     backgroundAudiosource.volume = 0;
     shakeScripts.Shake();
     gameOverAnim.SetBool("isOver", true);
     spinHandlerScripts.EndGame();
     isGameEnd          = true;
     txtTotalScore.text = score.ToString();
 }