예제 #1
0
 void OnTriggerEnter2D(Collider2D coll)
 {
     if (coll.gameObject.tag == "Lethal")
     {
         // Death
         deathScript.RespawnLevel();
     }
 }