Example #1
0
 public void OnTriggerenter2D(Collider2D cInfo)
 {
     if (cInfo.gameObject.tag == "LimiteCalles")
     {
         Destroy(cInfo.transform.parent.gameObject);
         motorCarreterasScript.CreaCalles();
     }
 }