It basically takes an GameObject[ ] array and you fill it with whatever types of objects you want in the editor. Be it asteroids, suns, nebulas, debree, enemies, anything your little twisted mind can imagine. We then generate the scene with those objects spreading them randomly using Random.Range positioning and a few "magic tricks" to prevent collisions.