void LeftEyeHit() { timeStamp = Time.time; cooldown = Random.Range(.5f, 3.0f); GameObject tempOwlie = (GameObject)Instantiate(leftBlink, currentOwlie.transform.position, Quaternion.identity); tempOwlie.GetComponent <OwlieSlider> ().SetTargetY(owlieSlider.GetTargetY()); owlieSlider = tempOwlie.GetComponent <OwlieSlider> (); if (owlieFlapping) { soundHandler.StopOwlieFlapping(); } Destroy(currentOwlie); currentOwlie = tempOwlie; }