void OnTriggerExit2D(Collider2D other) { if (other.gameObject.tag.Equals("Enemy")) { shootEnemy.DeleteEnemyInRange(other.gameObject); } }