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