Beispiel #1
0
 void OnTriggerEnter2D(Collider2D otherCollider)
 {
     if (otherCollider.CompareTag(Constants.TAG_CAR))
     {
         trackCollectionScript.RecycleTrack(gameObject);
     }
 }