public void SetThrowPower() { if (Input.GetButtonDown("Fire1")) { if (!powerBar.isAnimated) { powerBar.Show(); } else { ThrowBone(powerBar.GetPowerAndHide()); } } }