Пример #1
0
 void OnTriggerStay2D(Collider2D col)
 {
     if (col.gameObject.tag == "Player")
     {
         mMegaMan.TakeDamage(3);
     }
 }