void Update() { if (this.GetComponent <Rigidbody>().IsSleeping() && collisionHasHappened == true) { Destroy(this.gameObject); Slingshot.CallLoseScreen(); } }