void OnCollisionEnter2D(Collision2D coll) } // Check if we have collided with the enemy if (coll.gameObject.tag == "Enemy") { Destroy(coll.gameObject); } }