Example #1
0
 private void Update()
 {
     if (isGameover)
     {
         return;
     }
     if (Input.GetMouseButtonDown(0))
     {
         score++;
         scoreText.text = score.ToString();
         currentPin.FlyPin();
         initialPin();
     }
 }