コード例 #1
0
 void OnTriggerEnter2D(Collider2D other)
 {
     if (other.CompareTag("Player"))
     {
         OnEnterRadar?.Invoke(other);
     }
 }
コード例 #2
0
 void OnTriggerEnter2D(Collider2D other)
 {
     OnEnterRadar?.Invoke();
 }