Example #1
0
 //Sends any object that collides with the destruction zone to be checked for removal
 void OnCollisionEnter(Collision collision)
 {
     ObstacleManager.DestroyObstacle(collision.gameObject);
 }