Beispiel #1
0
 private void OnTriggerStay2D(Collider2D collision)
 {
     if (collision.gameObject.tag == "Enemy")
     {
         m_PlayerMain.CheckEnemy(collision);
     }
 }