private void OnTriggerEnter(Collider other) { if (other.CompareTag("Enemy")) { OnEnemyReached?.Invoke(); } }
private void EnemyReachedDestination() { OnEnemyReached?.Invoke(); }