コード例 #1
0
 //CHECK FOR DEATH HERE
 public void OnTriggerEnter2D(Collider2D other)
 {
     if (other.gameObject.CompareTag("Toxic"))
     {
         lc.removeLife();
     }
 }