void OnCollisionEnter2D(Collision2D col) { if (col.gameObject.name != "Player") { tf.position = new Vector2(ptf.position.x + 0.04f, ptf.position.y - 0.18f); isFiring = false; if (col.gameObject.name == "Enemy") { bc.bullethit(); } if (col.gameObject.tag == "Destroyable") { col.gameObject.SetActive(false); bc.audio.PlayOneShot(bc.beeclip, 1f); } } }