void OnTriggerExit(Collider other) { if (other.CompareTag("Player")) { enemyEntity.TriggerExitCall(other.gameObject); } }