void OnTriggerEnter2D(Collider2D other)
 {
     if (other.CompareTag("Player"))
     {
         OnEnterRadar?.Invoke(other);
     }
 }
Ejemplo n.º 2
0
 void OnTriggerEnter2D(Collider2D other)
 {
     OnEnterRadar?.Invoke();
 }