Beispiel #1
0
 void OnTriggerEnter2D(Collider2D coll)
 {
     if (coll.gameObject.tag == "Ball")
     {
         GetComponent <Animation>().Play("PlipAway", PlayMode.StopAll);
         manager.Win();
     }
 }