Create a boundary around the game play area so the shots can be removed from play after they fall off the field.
- Create a box larger than the play area
- Create Cube
- Scale it
- Make sure it has a box collider
- isTrigger is checked
- Remove the Cube(mesh filter)
- Remove the mesh renderer.
- Create script(to handle the trigger) DestroyByBoundary
- Edit and add the OnTriggerExit routine. When triggered, it will destroy the other object.
- Easy