// Collision with a blocker void OnCollisionEnter(Collision collision) { isAlive = false; Blocker blocker = collision.gameObject.GetComponent <Blocker>(); blocker.Explode(); Explode(); }