Before you spawn objects into your scene, they should move the way you want.
To make sure our hierarchy doesn’t get too cluttered, let’s make sure these objects get destroyed when they leave the screen.
Now that you have all these moving objects, they’re bound to start colliding with each other - we need to program what should happen when everything collides.
Now that the objects are basically behaving the way they should, if they’re going to be instantiated during gameplay, they need to be prefabs
Now that we have all of our prefabs set up, we can create a spawn manager to spawn them at intervals and, if we want, in random locations.