// Update is called once per frame void Update() { if (!isStop && Input.GetMouseButtonDown(0)) { currentPin.Flay(); this.SpawnPin(); } }