Beispiel #1
0
 public void OnTriggerEnter2D(Collider2D collision)
 {
     if (collision.transform == playertr)
     {
         StartCoroutine(kc.OpenDoor(this.gameObject));
     }
 }