void OnTriggerStay2D(Collider2D other) { if (other.CompareTag("Player")) { towerAI.target = other.transform; towerAI.Attack(); } }