Instantiating trafic

I m working on a car race game…I want to instantiate different cars randumly on the way of my player car.how can i do this??

Create an array of gameObjects which will hold your car prefabs and then use Random.Range to pick a random one to spawn out of the array when instantiating one.