Spawn Meteors At random location C#

I am wanting to make a script that you can drop a prefab of your meteor on and then set like an average distance or something then when you hit the play button it spawns them randomly around the area. I would somewhat like to be able to use an array that way it can be set the amount of meteors to spawn.

Please Help.

array variable

number of meteors variable

meteor prefab

set array size to the number of meteors variable

loop for number of meteors

instantiate prefab into current loop array position

randomize position using random insideUnitSphere multiplied by a random minimum maximum distance

rinse and repeat